Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re: Re: change your attitude

by pike (Monk)
on Nov 23, 2001 at 15:28 UTC ( [id://127091]=note: print w/replies, xml ) Need Help??


in reply to Re: change your attitude
in thread change your attitude

How about:

if ($things ne 'good') { if ($things->can ('change')) { change $things; } else { change($attitude->{"life"}) or life("ends"); } }

pike

Replies are listed 'Best First'.
Re: Re: Re: change your attitude
by TomK32 (Monk) on Nov 23, 2001 at 17:21 UTC
    if ($things->can ('change')) { change $things;
    I belief that you can change anything and so this if-clause ain't necessary. If you don't believe me, remeber the saying "There's more than one way to do it!"

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others having an uproarious good time at the Monastery: (6)
As of 2024-04-23 12:16 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found