Help for this page

Select Code to Download


  1. or download this
      if (-f $file) {
         $fileContents = `cat $file`;
         print $fileContents;
      }
    
  2. or download this
    if (-f $file) {
       open (FH, "<$file");
       print <FH>;
    }