B
Binny V A
Hello Everyone,
I want to get a list of all HTML files in a folder. How do I do this?
I tried
$list = <*.htm>;
but it gave only one html file. The same result with glob("*.htm")
I am currently doing this with
$list = `dir *.htm`;
and then spliting it. But that is not portable.
Other questions - How do I get the names of folders?
How do I relusivly list all files in a folder and within folders in that folder?
Thanking You,
Binny V A
http://www.geocities.com/binnyva
Perl Special http://www.geocities.com/binnyva/code/perl
I want to get a list of all HTML files in a folder. How do I do this?
I tried
$list = <*.htm>;
but it gave only one html file. The same result with glob("*.htm")
I am currently doing this with
$list = `dir *.htm`;
and then spliting it. But that is not portable.
Other questions - How do I get the names of folders?
How do I relusivly list all files in a folder and within folders in that folder?
Thanking You,
Binny V A
http://www.geocities.com/binnyva
Perl Special http://www.geocities.com/binnyva/code/perl