[Israel.pm] Error in compilations - not found

Chanan Berler bc.other at gmail.com
Sun Oct 28 02:35:52 PDT 2012


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    ----
===================


More information about the Perl mailing list