On Thu, Jun 19, 2008 at 5:50 AM, Bryan R Harris <[EMAIL PROTECTED]> wrote: > > > Given an open filehandle, why don't these two things do the same thing? > > ************************************** > @l2r{"a","b"} = (<FILE>, <FILE>); > $c = <FILE>; >
because @l2r{...} is a list, right? so the statement above is in a list context. so the second <FILE> will slurp all file content. -- Jeff Peng - [EMAIL PROTECTED] Professional Squid supports in China http://www.ChinaSquid.com/ -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/