You can also just use the comments and never even have a use Smart::Comments line in the file at all or worry about removing/commenting it out for production. Just run with a wrapper which calls perl appropriately when you want them turned on (zsh function; adjust accordingly for other inferior shells . . . :):
scom () { local level="" if [[ $1 = (([#]##),#)## ]] then level="=$1" shift fi perl -MSmart::Comments${level} "$@" }
By default it runs with the normal "###" level, but you can call it as scom '###,####,#####' foo.plx to enable more levels as necessary.
The cake is a lie.
The cake is a lie.
The cake is a lie.
In reply to Re^2: PL/1's PUT DATA in Perl - is this possible?
by Fletch
in thread PL/1's PUT DATA in Perl - is this possible?
by rovf
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |