Hi
I have a Resultsource class as follows:
package myDB::Atable;
use base qw/ DBIx::Class /;
__PACKAGE__-load_components( qw/ PK::Auto Core / );
__PACKAGE__-table( 'atable' );
__PACKAGE__-add_columns( acolumn = {} );
Good morning,
On 15/2/15 at 9:51 PM +0100, Erik Colson e...@ecocode.net wrote:
However, the code doesn't work if I put a 'use String::Util;' at the top
of the package and replace 'String::Util::trim' by 'trim'. It looks like
the declaration gets out of scope.
You need to either import the
Charlie Garrison garri...@zeta.org.au writes:
You need to either import the `trim` sub:
use String::Util 'trim';
Awesome! thanks
--
erik colson
___
List: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/dbix-class
IRC: irc.perl.org#dbix-class