Hi again!

Thanx! :-)
I'm trying to ask as much as possible just to be on the clear with it... :-)

This seems totally meaningless, but what would $list = glob('*.txt') return?

/G
http://www.varupiraten.se/


----- Original Message ----- From: "Randal L. Schwartz" <merlyn@stonehenge.com>
To: "Gustav Wiberg" <[EMAIL PROTECTED]>
Cc: <beginners@perl.org>
Sent: Saturday, November 12, 2005 11:31 PM
Subject: Re: Why glob() ?


"Gustav" == Gustav Wiberg <[EMAIL PROTECTED]> writes:

Gustav> Hi again!
Gustav> If I understood it right...

Gustav> @list = glob('*.txt');

Gustav> would return all files that ends with *.txt in current directory?

Yes.  What part of "perldoc -f glob" would lead you to a possibly
different conclusion, or is unclear?  I recognize this is a beginners
mailing list, but if you're going to ask us about each and every
paragraph you read...  it'll be a lot of clutter. {grin}

--
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
<merlyn@stonehenge.com> <URL:http://www.stonehenge.com/merlyn/>
Perl/Unix/security consulting, Technical writing, Comedy, etc. etc.
See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl training!

--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>





--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to