Help for this page

Select Code to Download


  1. or download this
    if ($myfile =~ /\.gz$/)
    {
    ...
    my $myfile_timestamp = (stat(MYFILE))[9];
    
    close(MYFILE);
    
  2. or download this
    gzip: stdout: Broken pipe
    
  3. or download this
    gzip: stdout: Broken pipe
    Can't close filehandle 'MYFILE': '' at myscript.pl line 1014
    
  4. or download this
    while (<MYFILE>)
    {
        chomp($_);
    }