Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked

Re: Re: Re: Acme::Don't

by ariels (Curate)
on Jun 19, 2002 at 10:54 UTC ( #175619=note: print w/replies, xml ) Need Help??

in reply to Re: Re: Acme::Don't
in thread Acme::Don't

Surely they're not quite the same? Acme::Don't's don't {...} is documented as returning undef. When used as the last line of a module, don't { 1 } isn't (sorry) the same as
<<'comment' 1 comment

Replies are listed 'Best First'.
Re: Acme::Don't
by cLive ;-) (Parson) on Jun 20, 2002 at 20:11 UTC
    I was just replying to the "how to make a comment part" - not the Acme::Don't. Who cares if they are the same or not? not me :)

    cLive ;-)


Re: Re: Re: Re: Acme::Don't
by zude (Scribe) on May 14, 2004 at 03:46 UTC
    If undef is strictly required, then just:
    undef or do { ... };

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (8)
As of 2016-10-26 08:26 GMT
Find Nodes?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?

    Results (337 votes). Check out past polls.