http://www.perlmonks.org?node_id=1186735


in reply to Re: oneliner: autorun script when I save it in the editor
in thread oneliner: autorun script when I save it in the editor

The delimiter line is a nice touch...

And using $ARGV[1] instead of $ARGV[0] is good thinking! I now use it more as a perl -wc thingy... so I save, and know if the added code is syntax-error free (of course, most of the times it is still buggy)