<div dir="ltr"><div><br></div>Quicky here. I'm processing logs do not necessarily know the MAC's of IP's I'm looking to find usage for. Right now I'm doing this:<div><br></div><div><br></div><div><br>
</div><div>$Usage{$MAC}=0 if ( ! $Usage{$MAC} );</div><div>$Usage{$MAC}=$Usage{$MAC}+$NewUsage;</div><div><br></div><div><br></div><div>I could have swore there was a way to say something along the line of just set $Usage{$MAC} to Zero if it's not defined. Without turning off warnings is my goal.</div>
<div><br></div><div><br></div><div>Anyone know a better or cleaner way to do this?</div><div><br></div><div>Robert</div><div><br></div><div><div><div><br></div>-- <br>:wq!<br>---------------------------------------------------------------------------<br>
Robert L. Harris<br><br>DISCLAIMER:<br> These are MY OPINIONS With Dreams To Be A King,<br> ALONE. I speak for First One Should Be A Man<br> no-one else. - Manowar
</div></div></div>