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

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

by ariels (Curate)
on Jun 19, 2002 at 10:54 UTC ( [id://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 ;-)

    --
    seek(JOB,$$LA,0);

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?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others imbibing at the Monastery: (4)
As of 2024-03-29 09:29 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found