Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

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

by strat (Canon)
on Jun 19, 2007 at 09:39 UTC ( [id://621978]=note: print w/replies, xml ) Need Help??


in reply to How Much Is Too Much (on one line of code)?

I'd write it in the following way:

my $country = $card->country; if( $country ) { $country = $country eq 'gbr' ? '' : uc "[$country]"; } # if $country

Best regards,
perl -e "s>>*F>e=>y)\*martinF)stronat)=>print,print v8.8.8.32.11.32"

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others meditating upon the Monastery: (8)
As of 2024-04-25 11:32 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found