Help for this page

Select Code to Download


  1. or download this
    $ perl -wlne'eval;print$@if$@ # interactive perl'
    use Scalar::Util 'dualvar';
    ...
    print 0+$x;
    256
    # correct numeric value
    
  2. or download this
    $x .= "foo";
    print 0+$x;
    ...
    259
    print $x
    259