Help for this page

Select Code to Download


  1. or download this
    $val = *x;
    print "@{ *{ $val } }";
    
  2. or download this
    print $val;
    
    --output:--
    *main::x
    
  3. or download this
    $what = *x;
    print $what, "\n";
    ...
    
    *main::x
    GLOB(0x10082ad88)
    
  4. or download this
    $fh = *STDOUT;
    
    ...
    
    --output:--
    hello
    
  5. or download this
    $STDOUT = 10;
    $fh = *STDOUT;
    ...
    
    --output:--
    2