in reply to Re^3: Is there a better way to check if an array is empty?
in thread Is there a better way to check if an array is empty?
To say in short again,I am searching for a new file in the keys of a hash and pushing the grep results to an array,if the array is emtpy then only push the new file to another array "@newfiles" and then come out of the loop(that's the reason I added a next)
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^5: Is there a better way to check if an array is empty?
by GrandFather (Saint) on Dec 21, 2010 at 20:24 UTC | |
|
Re^5: Is there a better way to check if an array is empty?
by JavaFan (Canon) on Dec 21, 2010 at 20:35 UTC |