hello world: perl -le 'print "Hello World"'
should be: print 'Hello World' (code fragment like the other languages, not command line)
print first arg: perl -le 'print $ARGV[0]'
should be: print shift
I think we should send the author of this site the proper perl scripts and make sure perl comes out on top.
In reply to Perl losing, unfairly by meetraz
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |