Ask a Question related to PERL Miscellaneous, Design and Development.
-
Dan Jacobson #1
How can I comment out a large block of perl code?
$ perldoc -q 'How can I comment out a large block of perl code?' says
to use =begin comment text, =end comment text, but I find the =end
comment text does not stop the comment, printing only "1":
print 1;
=begin comment text
all of this stuff
here will be ignored
by everyone
=end comment text
print 2;
Wait, he meant to say use a =cut instead of =end comment text!
Please report a bug for me, my bugs just go into a black hole.
Dan Jacobson Guest
-
quick way to un-comment code?
Hi, I'm use the code view to write coldfusion pages. I figured out how to quickly comment out a selected block of coldfusion code (created a... -
Comment Code
Is there a better way to auto create the application comment headers. I have the below header information but have to manually update the creation... -
Text Block Too Large? MXa/XP
Hey Folks, I'm trying to map a map index, but I'm running into an error message: "Could not complete the paste command because the text block is... -
mass-replacing large block of text
I have ~97 HTML documents that I need to strip the footer (about 15 lines) from and replace with a different block of text. The footer is formatted... -
[PHP] How to comment out chunk of html/php mixed code?
This won't work is your PHP code has comments using /* */ syntax in it already. I always just through an if(false){ } around huge portions of... -
Yury Kopyl #2
Re: How can I comment out a large block of perl code?
Dan Jacobson -> "How can I comment out a large block of perl code?" :
DJ> $ perldoc -q 'How can I comment out a large block of perl code?'
DJ> says to use =begin comment text, =end comment text, but I find the
DJ> =end comment text does not stop the comment, printing only "1":
DJ> print 1;
DJ> =begin comment text
DJ> all of this stuff
DJ> here will be ignored by everyone
DJ> =end comment text
DJ> print 2;
DJ> Wait, he meant to say use a =cut instead of =end comment text!
I use next construction:
=rem
bla-bla-bla
=cut
Yury Kopyl aka hrg | [url]http://id.totem.ru[/url] | [TEAM Nemiroff ?????]
Yury Kopyl Guest
-
Anno Siegel #3
Re: How can I comment out a large block of perl code?
Dan Jacobson <jidanni@jidanni.org> wrote in comp.lang.perl.misc:
[snip]> $ perldoc -q 'How can I comment out a large block of perl code?' says
> to use =begin comment text, =end comment text, but I find the =end
It's probably a bug worth reporting.> Wait, he meant to say use a =cut instead of =end comment text!
What do you mean? Some Cabale? Someone in the perlbug process is throwing> Please report a bug for me, my bugs just go into a black hole.
out your reports?
Your reports have the same chance to be accepted than everybody else's.
An accompanying patch increases the chance considerably. Otherwise,
doc patches are sometimes worked into the next version of the doc without
tracing each change back to every reporter. Have you looked if your
suggestions have been incorporated this way?
Anno
Anno Siegel Guest



Reply With Quote

