On Fri, Feb 28, 2014 at 11:13:05PM -0600, Bill McCormick wrote:
> Can somebody help me understand this? Given this loop, and the
> logged output following ...
> 
> my $found;
> for( @$products ) {;
>   $found = $$_ =~ m|$project|;

I think you might have meant:
    $found = $project =~ m|$$_|;

>   $dump = Data::Dumper->Dump([$_, $project, $$_, $found]);
>   $logger->trace(qq(dump=$dump));
> }
> 
> I can't explain why $found is not true on the 3rd pass. Does this
> have something to do with the way I'm dereferencing the blessed
> object?

-- 
Paul Johnson - p...@pjcj.net
http://www.pjcj.net

-- 
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/


Reply via email to