Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re^3: How Much Is Too Much (on one line of code)?

by naikonta (Curate)
on Jun 18, 2007 at 14:30 UTC ( [id://621797]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my $some = get_word();
    my $when = $some eq 'body'  ? 'has to fight' :
    ...
               $some eq 'where' ? 'in a avery near place to their mind' :
               $some eq 'time'  ? 'can only tell' :
               'yes, there is always a space for default';
    
  2. or download this
    my $some = get_word();
    my $when;
    ...
    } else {
        $when = 'yes, there is always a space for default';
    }
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others sharing their wisdom with the Monastery: (3)
As of 2024-04-25 09:27 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found