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

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

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

Help for this page

Select Code to Download


  1. or download this
    $country = $country eq 'gbr' ? '' : uc "[$country]"
      if $country;
    
  2. or download this
    if ($country) {
      $country = $country eq 'gbr' ? '' : uc "[$country]";
    }
    
  3. or download this
    my $country = '';
    my $code = $card->country;
    $country = "[\U$code]" unless $code eq 'gbr';
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others studying the Monastery: (8)
As of 2024-04-16 07:35 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found