is the variable being declared inside the loop, or outside in which case it may be retaining values.#!/usr/bin/perl -w use strict; use Data::Dumper; $_ = { foo=>1, bar=>2, baz=>3}; print Dumper $_; print "Wahey!\n" if exists($_->{foo})
--
Brother Frankus.
¤
In reply to Re: Re: Re: Reliably checking that something doesn't exist
by frankus
in thread Reliably checking that something doesn't exist
by ritontor
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |