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