Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

how to use glob...

Status
Not open for further replies.

CDuddley

Programmer
Feb 4, 2002
26
US
I'm trying to figure out how to use the glob sub routine. I've called it this way "$filename = glob("*.whatever")" and this way "use File::Glob ':glob';
@list = bsd_glob('*.whatever');"
neither of which work on windows XP. How do I get it to work in WindowsXP? Thanks for your time guys.

-CDudd
 
Maybe you could look at:
Code:
perldoc File::Dosglob

I never use it and I am not sure if Dos glob is usable as Win glob but in the examples of perldoc, the folder
Code:
"Program Files"
appears, so ... it should be worth a try.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top