Thanks to all. I have learned a lot tonight. Syntax sugar should be only used when I know clearly what happened.
On Sat, Dec 4, 2010 at 12:34 AM, Jim Gibson <[email protected]> wrote: > On 12/3/10 Fri Dec 3, 2010 8:26 AM, "Odin Liu" <[email protected]> > scribbled: > > > Interesting. So if I need deal with an array of files, and I have to use > the > > array after reading each file. I have to save another copy of the array? > > No. You need to learn where and when it is appropriate to use the default > variable $_. In lieu of that knowledge, you should use explicit variables > everywhere. > > > > -- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > http://learn.perl.org/ > > > -- *Odin Liu * RD Engineer work mail: [email protected] blog: http://blog.odichy.org/ profile: https://www.google.com/profiles/odinushuaia
