[Dbix-class] How can the cookbook Data::Dumper recipe possibly work?

Peter Valdemar Mørch peter at morch.com
Wed Jul 20 10:47:05 GMT 2011


On Wed, Jul 20, 2011 at 11:28 AM, Eden Cardim <edencardim at gmail.com> wrote:
> This means that assigning to $_[0] modifies the scalar within the caller
> scope.

And because of "my ($obj) = @_;" and then modifying $obj instead of
modifying $_[0], it didn't work for me. Follow the recipe properly (!)
and the dish turns out delicious...

Thanks!
-- 
Peter Valdemar Mørch
http://www.morch.com



More information about the DBIx-Class mailing list