Hey All,
Quick question: when running perl -c DAL.pl i don't see any errors in
my code, unless I am create an object out of DAL.
Q: is there a way to find these kinda syntax errors ?
package DAL;
## $Revision: 1.7 $
## $Date: 2012/07/16 14:36:13 $
## $Author: chanan $
use base 'backoffice::dal';
use strict;
use warnings;
our $VERSION = '2.03';
sub new
{
my ( $class, $params ) = @_;
# for compatible
$params->{'config'} = $params->{'Config'}->{'DB'}->{'OFFICE'};
return $class->SUPER::new($params);
}
1;
--
===================
---- Chanan Berler ----
===================
_______________________________________________
Perl mailing list
[email protected]
http://mail.perl.org.il/mailman/listinfo/perl