Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

RE: RE: Re: require problems

by Zarathustra (Beadle)
on Sep 19, 2000 at 21:47 UTC ( [id://33148]=note: print w/replies, xml ) Need Help??


in reply to RE: Re: require problems
in thread require problems

Well, I fail to see how the string "0 but true" is any more special than "any true value will do".

They're both simply strings that interpolate in a boolean context to true

how about:

0 . "true";

for something ever so slightly more "evil"...

(c8=

Replies are listed 'Best First'.
RE: RE: RE: Re: require problems
by merlyn (Sage) on Sep 19, 2000 at 22:12 UTC
    Well, I fail to see how the string "0 but true" is any more special than "any true value will do".
    Your failure to see it doesn't mean it's not more special. See other posts in this thread.

    Hint: turn on warnings.

    -- Randal L. Schwartz, Perl hacker

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others goofing around in the Monastery: (5)
As of 2024-04-24 05:06 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found