Help for this page

Select Code to Download


  1. or download this
    try
        {
    ...
        {
          System.out.println( ioerr.toString() );
        }
    
  2. or download this
    open(FH,"myFile.txt") or die "Nope : $!\n";
    
  3. or download this
    die "Nope : $!\n" unless open(FH,"myFile.txt");
    
  4. or download this
    if (not open FH, 'myFile.txt')
    {
        print STDERR "Nope : $!\n";
        exit;
    }
    
  5. or download this
    !open FH => 'myFile.txt' == 0 && die "Nope : $!\n";