On Tue, Oct 23, 2001 at 03:34:26PM -0500, SAWMaster wrote:
> $cookie = $addtocart_co->cookie(-name=>'incart', -value=>$pid . ":" .
> $pidsincart, -expires=>'+1h'); print

> $cookie, $pid, and $pidsincart are all predefined with values.

> Use of uninitialized value in concatenation (.) or string at
> c:\PROGRA~1\APACHE~1\APACHE\CGI-BIN\ADDTOC~1.PL line 27.

Perl does not generally lie about uninitialized values.  One of the values
on line 27 is uninitialized, and given your code, it must be either $pid or
$pidsincart.

You do understand what the error message means, right?  If not, see perldoc
perldiag and search for 'Use of uninitialized value'.

 
Michael
--
Administrator                      www.shoebox.net
Programmer, System Administrator   www.gallanttech.com
--

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to