Allison Ogle wrote:
> 
> Hi,

Hello,

> I have a hash with all the values set to zero.  I want to use the filehandle
> and if the filehandle matches a key in the hash I want to increment the
> value from zero.  Does anyone know how to do this?  I'm lost with hashes :(
> Thanks,

$hash{$filehandle}++ if exists $hash{$filehandle};


John
-- 
use Perl;
program
fulfillment

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to