I have already declared $createdFiles a a hash, the undefined value is i assume the key. I just want to know if they exit or not, i will try the exists function.if(!(@{$createdFiles->{$streamID}}||@{$modifiedFiles->{$streamID}}||@{ +$deletedFiles->{$streamID}})) { exit; }; Can't use an undefined value as an ARRAY reference at E:\Inetpub\cgi-b +in\wms.pl line 163.
In reply to Re: Simple array checking?
by costas
in thread Simple array checking?
by costas
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |