Re: references and objects [Solved]

2003-11-15 Thread drieux
On Friday, Nov 14, 2003, at 07:19 US/Pacific, angie ahl wrote: [..] I changed my code so the variables aren't references; sub EventList { my ($class, %arg) = @_; # load of code here return ([EMAIL PROTECTED], $startdate, $enddate); } And then called it like so: my @tempres = $event->

Re: references and objects [Solved]

2003-11-14 Thread angie ahl
I changed my code so the variables aren't references; sub EventList { my ($class, %arg) = @_; # load of code here return ([EMAIL PROTECTED], $startdate, $enddate); } And then called it like so: my @tempres = $event->EventList(skip=>0, max=>10); my $EventList = @tempres[0]; m