Help for this page

Select Code to Download


  1. or download this
    for ( values %main:: ) {
        my $io = *{$_}{IO} or next;
    ...
            print "($name is a virtual handle)\n";
        }
    }
    
  2. or download this
    fileno of  stdin is 0
    fileno of stdout is 1
    ...
    fileno of stderr is 2
    fileno of STDERR is 2
    (ARGV is a virtual handle)
    
  3. or download this
    fileno of STDERR is 2
    fileno of  STDIN is 0
    ...
    (ARGV is a virtual handle)
    fileno of   DATA is 3
    fileno of stderr is 2