Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re: Perl equivalent of C-style

by TheHobbit (Pilgrim)
on May 24, 2002 at 20:32 UTC ( [id://169199]=note: print w/replies, xml ) Need Help??


in reply to Perl equivalent of C-style

Hi,
other monks have told you that such a thing as a multiline comment does not exist in Perl, but that you could do with someting like

=for comment commented region =cut

I would just had mi 5cents (of euro) to this. 'block' comments with a start and a stop delimiter, as /* and */ in C, are not (IMHO) a good thing©. Ever tryied to comment out using /* */ a region which already contained comments of its own? That's weird to do and even worst to undo...On the other had, til-the-end-of-the-line style comments are easy to use, with a good enough editor...

Cheers


Leo TheHobbit

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others goofing around in the Monastery: (1)
As of 2024-04-24 13:35 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found