[TriLUG] YAPQ (yet another perl question)..

Michael Peters mpeters at plusthree.com
Thu Jun 11 15:07:19 EDT 2009


Scott Lambdin wrote:
> What are the angle brackets for in this line?
> 
> foreach $beforeLine (<@before>) {

Angle brackets like that are used to read data from file handles. So no they 
shouldn't be there since you're just reading information from an array.

-- 
Michael Peters
Plus Three, LP




More information about the TriLUG mailing list