Search
Find: Category: Location:

Keyword

Specific Category

City/State, or Zipcode

File reader

File reader

File reader

  • 0 Stars.

File reader script by perl


use strict;

#
# This script takes a file name, opens the file, and prints the
# contents.
#
if($#ARGV != 0) {
    print STDERR "You must specify exactly one argument.\n";
    exit 4;
}

# Open the file.
open(INFILE, $ARGV[0]) or die "Cannot open $ARGV[0]: $!.\n";

while(my $l = ) {
    print $l;
}

close INFILE;


 








Other Categories:
 CGI & Perl » Scripts & Codes


Related Listings:
PrestaShop File Upload Module
Using Net::FTP to get a file on the server
File Upload Script
Perl websites
Perl Hello World
Top Categories