go ahead... be a heretic | |
PerlMonks |
Re^3: File ext numberby Lady_Aleena (Priest) |
on Mar 20, 2010 at 03:54 UTC ( [id://829755]=note: print w/replies, xml ) | Need Help?? |
I had made the assumption that the files were being stored in an array. I hadn't thought of any other way to get the file list from the directory outside of File::Find which creates an array. I really overdid counting the instances of each file extension. I had thought of incrementation, but I hadn't thought to use it to define a previously undefined variable. So, the code below is better without the constant my $num = 1;.
Have a nice day!
Lady Aleena
In Section
Seekers of Perl Wisdom
|
|