John Drabinowicz <[EMAIL PROTECTED]> wrote:

> I just got the O'Reilly "Learning Perl on Win32 Systems" book and
> have a question about using the directory/file structure.

> This book says that I can walk the directory as shown is example 1, >
[using <> globbing] but I have been using example 2 [which uses the
> glob () function].

> Now I have Cygwin installed on my computer and was wondering if
> example 2 works because of that, or if it just works on Win32
> systems. I'm trying to keep the code as generic as possable, and
> would like the code to work on both platforms.

<Snip>examples removed</snip>

The "glob" function works regardless of Cygwin. It's part of base Perl,
though it _can_ be overridden (and I think typically is, by File::Glob,
though you can use File::DosGlob if you like). "perldoc perlwin32" is my
authority for this.

> I hope I'm making some sense ;->

Am _I_ a judge of this?

Your question makes perfect sense to me. You may be displaying a touch of
paranoia, but frankly, I think The World Would Be A Better Place if more
people had your particular brand of paranoia.

Tom Wyant



This communication is for use by the intended recipient and contains 
information that may be privileged, confidential or copyrighted under
applicable law.  If you are not the intended recipient, you are hereby
formally notified that any use, copying or distribution of this e-mail,
in whole or in part, is strictly prohibited.  Please notify the sender
by return e-mail and delete this e-mail from your system.  Unless
explicitly and conspicuously designated as "E-Contract Intended",
this e-mail does not constitute a contract offer, a contract amendment,
or an acceptance of a contract offer.  This e-mail does not constitute
a consent to the use of sender's contact information for direct marketing
purposes or for transfers of data to third parties.

 Francais Deutsch Italiano  Espanol  Portuges  Japanese  Chinese  Korean

            http://www.DuPont.com/corp/email_disclaimer.html


_______________________________________________
Perl-Win32-Users mailing list
[EMAIL PROTECTED]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to