Beefy Boxes and Bandwidth Generously Provided by pair Networks
Come for the quick hacks, stay for the epiphanies.
 
PerlMonks  

Re^3: Falling through Perl 5.10 switch statement

by ikegami (Patriarch)
on Apr 07, 2007 at 21:37 UTC ( [id://608862]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    given (1)
    
  2. or download this
    >perl -MO=Concise -e"my $data = 1; print $data;"
    a  <@> leave[1 ref] vKP/REFC ->(end)
    ...
    3        <0> pushmark s ->4
    4        <$> const[IV 1] s ->5            <-- This is a constant.
    -e syntax OK
    
  3. or download this
    >perl -MO=Concise -e"my $data = 1; if ($data) { print 'moo' }"
    c  <@> leave[1 ref] vKP/REFC ->(end)
    ...
    3           <0> pushmark s ->4
    4           <$> const[PV "moo"] s ->5
    -e syntax OK
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others contemplating the Monastery: (None)
    As of 2024-04-25 03:58 GMT
    Sections?
    Information?
    Find Nodes?
    Leftovers?
      Voting Booth?

      No recent polls found