in reply to Re^2: Best practices for processing @ARGV ?
in thread Best practices for processing @ARGV ?

Okay, i must admit tha Getopt::Long is cool and simple to use, but i always forget how to use, so i prefer to implement my own parseArgs (reminiscences of c 'while(c=getopt(...)) { switch(c) { ... } }' i think).

Well, in my example i cant not accept the double hash convention, but is was only an example. You can accept this conventions by modifying the regular expresion:

if (/-{1,2}l(ogfile){1}/) { # do stuff }

i must go to eat!! :-)

Regards

perl -Te 'print map { chr((ord)-((10,20,2,7)[$i++])) } split //,"turo"'