Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
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?
[Corion]: ambrus: He isn't familiar with GIGO (or nIGO) yet?
[Corion]: Also, is it impossible in the general case, but doable in your specific case, maybe? I find that working through a counterexample usually makes people see the light
[Corion]: Uiiih! Let's Encrypt will start issuing wildcard certificates, that's cool!

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (7)
As of 2017-12-12 13:07 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What programming language do you hate the most?




















    Results (332 votes). Check out past polls.

    Notices?