Help for this page

Select Code to Download


  1. or download this
    open F, '<', $in_file or die "Can't open $in_file: $!";
    
  2. or download this
    while (<F>) {
      push @lines, $_ unless /espf\[/
    }
    
  3. or download this
    return undef if not defined $in_file;
    if (-e $in_file) {
    ...
    } else {
      warn "bad file $in_file submitted, but does not exist\n";
    }
    
  4. or download this
        $ myprogram file1 file2 file3
    
  5. or download this
        while (<>) {
            # do something with $_
        }