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

Re: Acme::Comment -- Module Review

by jweed (Chaplain)
on Nov 07, 2003 at 02:05 UTC ( #305214=note: print w/replies, xml ) Need Help??

in reply to Acme::Comment

I think multi-line commenting (a single format of) would be great implemented as a standard feature in a future version of Perl; perhaps in Perl6? (it can't hurt to hope)
It isn't happening. Basically, they're going to try to redo POD so it's all spiffy, but Lwall gives the multi line comment RFC a rejection. So it looks like it isn't going to happen.

From Apocalypse 2:

But even if I weren't blindly prejudiced, I suspect I'd look at the psychology of the thing, and notice that much of the time, even in languages that have multiline comments, people nevertheless tend to use them like this:
     *  Natter, natter, natter.
     *  Gromish, gromish, gromish.
The counterargument to that is, of course, that people don't always do that in C, so why should they have to do it in Perl? And if there were no other way to do multiline comments in Perl, they'd have a stronger case. But there already is another way, albeit one rejected by this RFC as "a workaround."
(In response to RFC 5)

Edit by tye, preserve formatting

Replies are listed 'Best First'.
Re^2: Acme::Comment -- Module Review
by Aristotle (Chancellor) on Nov 09, 2003 at 12:55 UTC
    Although I must say I find the syntax
    #<<END_COMMENT blah blah blah END_COMMENT
    quite appealing in its consequence. Pity that Acme::Comment doesn't support that style.

    Makeshifts last the longest.

Re^2: Acme::Comment -- Module Review
by wazoox (Prior) on Apr 15, 2005 at 23:22 UTC

    I strongly agree with Apo2, because I myself never use the /* */ comment and always the C++ // comments (yes I know it's bad).

    Another thing comes to my mind: whenever I want a multiline comment REALLY HARD, it usually proves to be some form of documentation, so I end up writing an inline POD paragraph instead.

    inline POD rules! :)

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (3)
As of 2022-08-19 20:45 GMT
Find Nodes?
    Voting Booth?

    No recent polls found