Ed said: > No, because you can say: > print "$fh"; > and find out exactly what is going on. > > In the case with > undef $fh; > $fh is true. > > if ($fh) { print "HERE!!!\n"; } > > print "$fh"; > > you get nada, right? Right. > So... why the *$#$ is it getting into the loop? > > There has to be a method to print out the *contents* of $fh, not > just the values. print $fh.true; # Just the truth print %{(+$fh).prop}; # All the value's properties Damian
- Re: 'is' and action at a distance Piers Cawley
- Re: 'is' and action at a distance Damian Conway
- Re: 'is' and action at a distance Graham Barr
- Re: 'is' and action at a distance Piers Cawley
- Re: 'is' and action at a distance Austin Hastings
- Re: 'is' and action at a distance Jarkko Hietaniemi
- Re: 'is' and action at a distance Graham Barr
- Re: 'is' and action at a distance Piers Cawley
- Re: 'is' and action at a distance Edward Peschko
- Re: 'is' and action at a distance Michael G Schwern
- Re: 'is' and action at a distance Damian Conway
- Re: 'is' and action at a distance Edward Peschko
- Re: 'is' and action at a distance Damian Conway
- Re: 'is' and action at a distance Damian Conway
- Re: 'is' and action at a distance Michael G Schwern
- Re: 'is' and action at a distance John Siracusa
- Re: 'is' and action at a distance Graham Barr
- Re: 'is' and action at a distance Damian Conway
- Re: 'is' and action at a distance Graham Barr
- Re: 'is' and action at a distance Larry Wall
- Re: 'is' and action at a distance Johan Vromans