Help for this page

Select Code to Download


  1. or download this
    # Assuming is set in bush.conf
    unless(open(FILE,"<$random_file"))
    ...
    }
    my @lines = <FILE>;
    close(FILE);
    
  2. or download this
    open(FILE,"<$random_file") || die "Could not open file",$!;