Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

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

by wind (Priest)
on Jun 20, 2007 at 00:54 UTC ( [id://622158]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my $country = $card->country;
    $country &&= $country eq 'gbr' ? '' : uc "[$country]";
    
  2. or download this
    my $country = $card->country;
    $country = '' if $country eq 'gbr';
    $country &&= uc "[$country]";
    

Log In?
Username:
Password:

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

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

    No recent polls found