So since you are not using the OOP interface to CGI, you need to tell Perl to bring the functions into the local namespace so you can use them in the way you are, so something like:
use CGI qw/:standard/; # load standard CGI routines
Should help matters greatly. There are two other options, switch to the OOP interface and request a new CGI object then call the function (now a method) on the object instance, or practice your typing by including the full name everywhere:
my $customer = CGI::param('Customer');
Be sure to undersand what and how :standard works, and what other options are available.
Ok, Thanks but I think I'm still a little baffle here about the difference in using OOP interface and not using OOP interface.
Could you clarify the difference?
-- ************************************************************ *** Phillip B. Bruce *** *** *** *** "Politicians and diapers have one thing in common. *** *** They should both be changed regularly and for the *** *** same reason." *** *** *** ************************************************************
-- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]