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

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


Comment on Re: Re: Re: Acme::Don't
Select or Download Code
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 ;-)

    --
    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
Node Status?
node history
Node Type: note [id://175619]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (9)
As of 2014-07-10 07:48 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    When choosing user names for websites, I prefer to use:








    Results (202 votes), past polls