Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Comments in multi-line qw

by stefan k (Curate)
on Dec 03, 2001 at 19:20 UTC ( [id://129093]=perlquestion: print w/replies, xml ) Need Help??

stefan k has asked for the wisdom of the Perl Monks concerning the following question:

Dear Monks, is there any way to really comment out one line from a multi-line qw-statement?
@words = qw(my friend # is stupid);
In the written form the hash-sign becomes an element of the array.

Regards... Stefan
you begin bashing the string with a +42 regexp of confusion

Replies are listed 'Best First'.
Re: Comments in multi-line qw
by andye (Curate) on Dec 03, 2001 at 19:25 UTC
      *grmbl* first of all thanks of course, then: I did a super search with 'qw' and 'comment' in the text of the message and these didn't show up...

      Regards... Stefan
      you begin bashing the string with a +42 regexp of confusion

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://129093]
Approved by root
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others rifling through the Monastery: (5)
As of 2024-04-19 07:30 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found