perl newbie

From: ABE (sicatm_at_hotmail.com)
Date: 01/25/04


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";
}