Bareword, oopsy

christopher norris chris at urbanweb.net
Sun Feb 28 13:37:42 PST 1999


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?


[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.




More information about the freeside-users mailing list