Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re: Precedence for Idiots

by virtualsue (Vicar)
on Dec 01, 2006 at 16:16 UTC ( [id://587226]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    $x?$y=1:$y=~s/.*/0/;
    
  2. or download this
      my $y = 1;
      $y = 0 if (!$x);
    
  3. or download this
      my $y = "a big string of something";
      if (!$x) {
        $y =~ s/somebigoldregex/etc/;
      }
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others chilling in the Monastery: (5)
As of 2024-04-18 19:10 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found