Help for this page

Select Code to Download


  1. or download this
    $ perl -le '$x = rand 2; print $x'
    0.0874574767967786
    
  2. or download this
    $ perl -wle '@y = qw{a b c}; print $y[0.0874574767967786]'
    a
    
  3. or download this
    $ perl -MO=Deparse -e '@y = qw{a b c}; print $y[0.0874574767967786]'
    @y = ('a', 'b', 'c');
    print $y[0];
    -e syntax OK