Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re: Some suggestions on coding style - a chance to critique

by jarich (Curate)
on Jun 28, 2002 at 01:15 UTC ( #177904=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    $$redirect = $$formdata{'redirect'} unless ($$formdata{'required'} eq 
    +"");
    
  2. or download this
    $$redirect = $formdata->{redirect} if ($formdata->{required} ne "");
    
  3. or download this
             # sets unless $formdata->{redirect} is 
             # a) undefined b) "" or c) 0
    ...
             # ($formdata->{redirect} may be "" or 0 if already
             # initialized to that value)
    $$redirect = $formdata->{redirect} if defined($formdata->{required};
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (15)
As of 2014-08-01 14:04 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Who would be the most fun to work for?















    Results (21 votes), past polls