in reply to Re: Multi-line comments in perl code?
in thread Multi-line comments in perl code?
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"; }
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^3: Multi-line comments in perl code?
by Anonymous Monk on Jan 04, 2017 at 20:45 UTC |
In Section
Seekers of Perl Wisdom