On Jul 15, 2004, at 10:56 AM, Brian Volk wrote:

James,

Thanks so much for your help, it's now working great!

Happy to help.

One question, if you don't mind...

Sure.

my @urls = <LINKS>;       # slurp the file
Is this telling the diamond operator what to use for input?

You got it. Because we're assigning to an array it's called in "list context". The diamond operator, in list context, returns the rest of the lines of the file. This is generally called "slurping".


Hope that helps.

James


-- 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