listitemizator: perl -MLWP::UserAgent -e "print qq(<li>[id://$ARGV[0]|).LWP::UserAgent->new->get('http://www.perlmonks.org/index.pl?node_id='.$ARGV[0])->title,']</li>'"
closures functional programming and high order Perl
windows spawn system and filehandles
portability and filesystem redirection
Note that $, % and @ don't tell you what type variables are, they tell you what type of thing an expression returns. So $ref returns a scalar which may be a reference to an array or a hash. @$ref and @{$ref} return arrays (they are equivalent) by dereferencing $ref. The {} version is much clearer (and often required) when the expression used to get the reference is complicated.
In reply to Discipulus's library
by Discipulus
in thread Discipulus
by Discipulus
For: | Use: | ||
& | & | ||
< | < | ||
> | > | ||
[ | [ | ||
] | ] |