Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical

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 ;-) (Prior) 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 perusing the Monastery: (5)
As of 2020-09-23 06:38 GMT
Find Nodes?
    Voting Booth?
    If at first I donít succeed, I Ö

    Results (130 votes). Check out past polls.