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

Re: how does perl handle variables

by Laurent_R (Monsignor)
on May 17, 2013 at 21:03 UTC ( #1034021=note: print w/ replies, xml ) Need Help??


in reply to how does perl handle variables

$ perl -e 'print 4 + "a"' 4 $ perl -e 'use strict; print 4 + "a"' 4 $ perl -e 'use warnings; print 4 + "a"' Argument "a" isn't numeric in addition (+) at -e line 1. 4 $ perl -we 'print 4 + "a"' Argument "a" isn't numeric in addition (+) at -e line 1. 4


Comment on Re: how does perl handle variables
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (4)
As of 2015-08-30 06:07 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The oldest computer book still on my shelves (or on my digital media) is ...













    Results (346 votes), past polls