Help for this page

Select Code to Download


  1. or download this
    my $directory =  '/home/psimo/it441/challenge/logs';
    ...
    open(FH, '<', '/home/psimo/it441/challenge/logs/$theFile') or die "CAN
    +'T OPEN FILE! you don't have the log file\n";
    
  2. or download this
    open FH, '<', "$directory/$theFile" or die "CAN'T OPEN FILE! you don't
    + have the log file\n";