perl newbie
From: ABE (sicatm_at_hotmail.com)
Date: 01/25/04
- Next message: Gunnar Hjalmarsson: "Re: perl newbie"
- Previous message: John W. Kennedy: "Re: Regular expression to find <tr> tags in 2nd level HTML tables"
- Next in thread: Gunnar Hjalmarsson: "Re: perl newbie"
- Reply: Gunnar Hjalmarsson: "Re: perl newbie"
- Reply: Jürgen Exner: "Re: perl newbie"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Sat, 24 Jan 2004 18:03:20 -0500
How to open or read a file passed as a parameter.
Example. myperl.pl myconfigfile
$cfgfile = ***** what to put here.....
if ( -e $cfgfile )
{
print "Ok\n";
}
else
{
print "Not found.\n";
}
- Next message: Gunnar Hjalmarsson: "Re: perl newbie"
- Previous message: John W. Kennedy: "Re: Regular expression to find <tr> tags in 2nd level HTML tables"
- Next in thread: Gunnar Hjalmarsson: "Re: perl newbie"
- Reply: Gunnar Hjalmarsson: "Re: perl newbie"
- Reply: Jürgen Exner: "Re: perl newbie"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]