tasks a-s

This commit is contained in:
Ingy döt Net 2013-04-10 23:57:08 -07:00
parent 47bf37c096
commit b83f433714
12433 changed files with 156208 additions and 123 deletions

View file

@ -0,0 +1,12 @@
sub funkshun
{my %h = @_;
# Print every argument and its value.
print qq(Argument "$_" has value "$h{$_}".\n)
foreach sort keys %h;
# If a 'verbosity' argument was passed in, print its value,
# whatever that value may be.
exists $h{verbosity}
and print "Verbosity specified as $h{verbosity}.\n";
# Say that safe mode is on if 'safe' is set to a true value.
# Otherwise, say that it's off.
print "Safe mode ", ($h{safe} ? 'on' : 'off'), ".\n";}

View file

@ -0,0 +1,3 @@
funkshun
verbosity => 3, password => 'foobie blech',
extra_lives => 3, '42' => 'answer', password => 'joshua';