-- Steve Sapovits <[EMAIL PROTECTED]> on 09/27/01 11:49:00 -0400

> 
> This is off topic but I can't find any resources.  If anyone
> can point me or answer directly I'd appreciate it.
> 
> I have a hash tying package that works EXCEPT when references
> are returned and used in block constructs like this:
> 
>   my $h = {};
>   tie %$h, "MyTie";
>   $h->{KEY} = [];
>   push(@{$h->{KEY}}, (qw/foo bar/));  # THIS FAILS
> 
> The failure is:  Can't use an undefined value as an ARRAY reference

Depends on how you've written the assignment and fetch
operators.  The guts of MJD's shared memory handler (IPC::Shared,
I think?) ended up having to use Storable to get around this if
you want a working example.

sl

Reply via email to