Help for this page

Select Code to Download


  1. or download this
    my $numeric_x =  0 + $x;   # forces numeric context
    my $stringy_x = '' . $x;   # forces string context
    my $boolean_x =    !!$x;   # forces boolean context