Elizabeth Mattijsen wrote: > > I guess I just found a new one in ogd.pm, while creating a list of > weakened objects: > > use Scalar::Util qw(weaken); > my @object; > weaken( [EMAIL PROTECTED] = shift ) while @_; # works, creates > weakened objects > # weaken( [EMAIL PROTECTED] = $_ ) foreach @_; # doesn't work, why?
In the 2nd case, you use aliases to elements of @_. Thus I guess they're
not refcounted, right ?
--
"It is meet to be here. Let us construct a watercloset."
-- Ulysses
