NT glob() equivalent?

Just been dragged kicking and screaming into the NT world from the UNIX environment. First script I tried to write gave me an error when trying to use the glob() function. Does NT/Perl have another equivalent function for glob()? Error I get is "The name specified is not recognized as an internal or external command, operable program or batch file.".

Also, does anyone know a good website that specifies the differences between UNIX and NT Perl, or a site with a good NT Perl Tutorial?
snazzyragsAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Kim RyanIT ConsultantCommented:
In Perl for Windows, filename globbing is implemented by means of another program, called PerlGlob.exe, which should be in your search path. It should live in the same place as your Perl executables.

For a list of Windows incompatabilities:

http://www.activestate.com/ActivePerl/docs/Perl-Win32/perlwin32faq5.html#How_do_I_make_a_UNIX_based_scrip
0
Kim RyanIT ConsultantCommented:
In Perl for Windows, filename globbing is implemented by means of another program, called PerlGlob.exe, which should be in your search path. It should live in the same place as your Perl executables.

For a list of Windows incompatabilities:

http://www.activestate.com/ActivePerl/docs/Perl-Win32/perlwin32faq5.html#How_do_I_make_a_UNIX_based_scrip 
 
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
alamoCommented:
Look at File::DosGlob which implements glob() for DOS filesystems. It also can optionally be set up so that you don't have to modify every instance of glob() in an existing script, just use File::DosGlob 'glob';
0
snazzyragsAuthor Commented:
PerlGlob.exe is not installed on our NT Server. This could be an installation problem - we did not install Perl (our application vendor did it). However, I was able to work around the problem with opendir(), readdir() and closedir(). Thanks for the response, anyways.
- Doug
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Perl

From novice to tech pro — start learning today.