File: hand.pl

package info (click to toggle)
libio-prompt-perl 0.997001-1%2Bdeb7u1
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 276 kB
  • sloc: perl: 846; makefile: 2
file content (10 lines) | stat: -rwxr-xr-x 332 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
#! /usr/bin/perl -w

# The internal &hand_print sub can be optionally exported to handle
# special output requirements...

use IO::Prompt 'hand_print';

hand_print "Now is the winter of\n";
hand_print { -speed => 0.25 }, "our discontent made ", { -speed => 0.5 },
  "glorious\n", { -speed => 0.15 }, "summmer by this son of York\n"