Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re: Re: Little Perl Mysteries: what's your answer?

by Ovid (Cardinal)
on Oct 31, 2002 at 17:06 UTC ( [id://209439]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    perl -MO=Deparse -e 'print 3*4'
    print 12;
    -e syntax OK
    
  2. or download this
    $ perl -MO=Deparse -e '$i=6;$j=2;print 3*4*$i*$j*3*4'
    $i = 6;
    $j = 2;
    print 12 * $i * $j * 3 * 4;
    -e syntax OK
    
  3. or download this
    $ perl -MO=Deparse,-p -e '$i=6;$j=2;print 3*4*$i*$j*3*4'
    ($i = 6);
    ($j = 2);
    print(((((12 * $i) * $j) * 3) * 4));
    -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://209439]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others having an uproarious good time at the Monastery: (1)
As of 2024-04-24 23:56 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found