The iteration operator in glob form, <list*> provides the file names.
FILENAME: while (<list*>){ open(FH, "< $_") || die; FILELINE: while (<FH>) { # <> uses filehandle here, reads lines # do stuff to lines } close( FH); }
In reply to Re: how do i read all the files starting with a pirticular name
by Zaxo
in thread how do i read all the files starting with a pirticular name
by turumkhan
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |