Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

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

by jarich (Curate)
on Jun 28, 2002 at 01:15 UTC ( [id://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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://177904]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others having a coffee break in the Monastery: (8)
As of 2024-04-24 09:04 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found