SPUG: Unitialized values

Lauren Smith LaurenS at bsquare.com
Thu Jun 1 17:53:42 CDT 2000



> -----Original Message-----
> From: Peter Darley [mailto:PDarley at serviceintelligence.com]
> Sent: Thursday, June 01, 2000 2:44 PM
> To: SPUG (E-mail)
> Subject: SPUG: Unitialized values
> 24 
> 25 if (param('Action') eq 'GetTableStructure') {print
> GetTableStructure($dbSystem)}
> 26 elsif ((param('Action') eq 'StartImport') || (!param())) {print
> StartImport($dbSystem)};
> 
> Use of uninitialized value at 
> /usr/local/apache/cgi-bin/SetupDB.pl line
> 25.
> Use of uninitialized value at 
> /usr/local/apache/cgi-bin/SetupDB.pl line
> 26.

Without any more information, I'd guess that "param('Action')" does not
contain a value.

:-)

Lauren

 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
     POST TO: spug-list at pm.org       PROBLEMS: owner-spug-list at pm.org
 Seattle Perl Users Group (SPUG) Home Page: http://www.halcyon.com/spug/
 For Subscriptions, Email to majordomo at pm.org:  ACTION  spug-list  EMAIL
  Replace ACTION by subscribe or unsubscribe, EMAIL by your Email address





More information about the spug-list mailing list