my @filez = <folder/*>;? Or is there more to this that I'm missing?
On the other hand... from your "pseudo-code," you might want an iterator perhaps?
sub get_filez { my @filez = <folder/*>; return sub { return shift @filez; } }
-Paul
In reply to Re: getting files names
by jettero
in thread getting files names
by uvnew
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |