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

Re: strong typing

by hardburn (Abbot)
on Dec 14, 2004 at 17:53 UTC ( [id://414790]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    print $a+@b;     #coerce array into number
    
  2. or download this
    print $a+$ref_b; #coerce reference into number
    
  3. or download this
    my $d=eval %c;   #coerce hash into string
    
  4. or download this
    my @e=%c;print "@e";  #hashes and arrays are different types.  Oh wait
    
  5. or download this
    my @t=12;        #coerce number into array
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others scrutinizing the Monastery: (5)
As of 2024-03-28 17:42 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found