Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re: #perl.br calc - A Perl Shell

by AltBlue (Chaplain)
on Jun 01, 2006 at 07:56 UTC ( [id://552991]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    $ echo 'x=y=1.2; x+=1.1; x-=1.1; x; y; x==y' |bc |xargs echo
    1.2 1.2 1
    
  2. or download this
    $ perl -wle '$x=$y=1.2; $x+=1.1; $x-=1.1; $,=$"; print $x, $y, $x == $
    +y'
    1.2 1.2
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others browsing the Monastery: (1)
As of 2024-07-22 02:29 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?
    erzuuli‥ 🛈The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.