in reply to blessed object containing reference to hash
Hi,
First, a quick note: you do not need to do any of the Exporter stuff at the top. You probably want connect called like:
Excel::Tabbed->connect('file'); # or connect Excel::Tabbed 'file';
In either case, you are calling connect through the package Excel::Tabbed. So, you do not want to export it.
What you are doing is ok, but could be cleaned up a bit:
.... my ($self,$args) = @_; # Should that be @args, not $args my $find = $self->{where}; $find->{name} = 'test'; # You didn't need the {} around find.
So this looks fine. Are you having problems? You don't describe how it is not working.
Ted Young
($$<<$$=>$$<=>$$<=$$>>$$) always returns 1. :-)
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: blessed object containing reference to hash
by Limbic~Region (Chancellor) on Jan 04, 2005 at 16:21 UTC | |
|
Re^2: blessed object containing reference to hash
by arcnon (Monk) on Jan 04, 2005 at 16:24 UTC | |
by TedYoung (Deacon) on Jan 04, 2005 at 16:26 UTC | |
by arcnon (Monk) on Jan 04, 2005 at 16:33 UTC |