|
Contact Us |
|||
Perl One-LinersNov, 2007
perl -e 'use URI::Escape;
$safe= uri_escape("http://www.celebrazio.net/contact.html");
print $safe . "\n";'
perl -e 'print @INC:' ## gives my included libraries
perl -e 'use Data::Dumper; print Dumper(\%INC);'
## lots of other cool stuff too
perl -e 'print join("\n",glob("\/dir{1,3,5,7,9}\/filename{v1,v2}.html")) . "\n"'
perl -p -i.bak -e 's/foo/bar/g' original.txt ## creates .bak as backup
"With a PC, I always felt limited by the software available. On Unix, I am limited only by my knowledge." |
||||
|
Copyright 1998-2007 Celebrazio.net