It seems that the '=begin comment'/'=end comment' pair doesn't work inside of if-blocks, does anyone know if there is a fix for it?
E.g. the following code will fail to compile with a 'missing right curly' syntax error.
if(1==1) { =begin comment print "something else\n"; =end comment print "hello!\n"; }
In reply to Re^2: Multi-line comments in perl code?
by aamailhot
in thread Multi-line comments in perl code?
by mrguy123
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |