[TriLUG] Problems with perl script...

Dean Price deano at price4.org
Thu Sep 18 15:34:48 EDT 2003


This doesn't appear to work... as no messages appear on my mail server and
the log file that the perl script generates is still empty...

on the up side, there were no warnings or messages.


Dean Price
deano at price4.org
dprice at charter.net
dean.price at ctg.com
910-797-3895

<quote who="Greg Cox">
>>   my $cookie = $cookiepage->header('Set-Cookie');
>>   $cookie = substr($cookie, 0, index($cookie, ";"));     <------ LINE
>> 232
>
> If $cookie is null, you'd get the warning from index().
> How about:
>
> my $cookie = $cookiepage->header('Set-Cookie') || '';
>
>
> --
> TriLUG mailing list        :
> http://www.trilug.org/mailman/listinfo/trilug TriLUG Organizational FAQ
> : http://trilug.org/faq/
> TriLUG Member Services FAQ : http://members.trilug.org/services_faq/
> TriLUG PGP Keyring         : http://trilug.org/~chrish/trilug.asc






More information about the TriLUG mailing list