Help for this page

Select Code to Download


  1. or download this
    my $x = dopen( 'file-not-found' );
    __END__
    Can't open `file-not-found': No such file or directory
    readline() on closed filehandle $fh
    
  2. or download this
    my $x = dopen( '/dev/null', 'file-not-found', '/etc/passwd' );
    
    ...
    __END__
    Can't open `/dev/null':
    Can't open `file-not-found': No such file or directory
    
  3. or download this
    my $x = dopen( '/dev/null', 'file-not-found', '/etc/passwd' );
    
    ...
    }
    __END__
    Can't read 'file-not-found': No such file or directory