Use single quotes in your print statement:
print '$line =~ s/^\s+|#//; #trim leading spaces and comment hash',"\n +"; print '$line =~ s/\s+$|\///; #trim trailing spaces and forward slash', +"\n";
You can use say to avoid the "\n" at the end...
...roboticus
In reply to Re: Code generation. Printing out regular expressions
by roboticus
in thread Code generation. Printing out regular expressions
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |