Bareword, oopsy

Ivan Kohler ivan at sisd.com
Thu Mar 25 06:00:03 PST 1999


On Mon, Mar 01, 1999 at 01:33:42AM -0800, christopher norris wrote:
> More errors.
> 
> [Sun Feb 28 13:17:58 1999] cust_main.cgi: Bareword "HERE" not allowed while
> "strict subs" in use at
> /usr/local/apache/htdocs/freeside/edit/process/cust_main.cgi line 94.
> 
> if ( $new->custnum eq '' ) {
>   #false laziness: copied from cust_pkg.pm
>   HERE!
>   #
>   $error ||= $new->insert;
> } else { #create old record object
> 
> Left a comment off?

No, didn't finish and checked it anyway.  Sorry about leaving that there
(and the current snapshot broken) for so long.  Took me a while to get
back to it, but I just checked in one-screen new customer entry for simple
packages with one svc_acct service. 

Now I'm going to sleep.

> 
> 
> [Sun Feb 28 13:20:08 1999] cust_main.cgi: Use of uninitialized value at
> /usr/lib/perl5/site_perl/5.005/FS/cust_main_invoice.pm line 137.
> 
> Another one.
> 
> [Sun Feb 28 13:22:19 1999] cust_pkg.cgi: Can't call method "table" on an
> undefined value at /usr/lib/perl5/site_perl/5.005/FS/Record.pm line 721.
> 
> This error is till present in the newest codebase.
> 

-- 
Ivan Kohler <ivan at sisd.com> - finger for PGP key - <moc.dsis at navi> Relhok Navi
Open-source billing and administration for ISPs - http://www.sisd.com/freeside
20 4,16 * * * saytime # please don't be surprised if you find me dreaming too



More information about the freeside-users mailing list