dovl at freescale.com
Wed Jun 27 05:32:00 PDT 2007
OK, that explains that but not my initial question. Does anyone have an
DSP SoC System and Applications Engineer,
Network and Computing Systems Group
Freescale Semiconductor Israel
The information contained in this email is classified as:
[ ] Freescale General Business Information
[ ] Freescale Internal Use Only
[ ] Freescale Confidential Proprietary
[x] Personal Memorandum
From: perl-bounces at perl.org.il [mailto:perl-bounces at perl.org.il] On
Behalf Of Amir E. Aharoni
Sent: Wednesday, June 27, 2007 15:17
To: Perl in Israel
Subject: Re: [Israel.pm] typeglobs
> Can you elaborate? Why is opening into a scalar better than opening
> a file handle?
It is also mentioned in the chapter about IO in Damian's Perl Best
Practices (the Dog book.)
A lot of people still use it, because that's what all editions of the
Camel and Llama books say.
perlfunc and perlopentut give the filehandle way first and then
describe the scalar way in a bit confusing manner.
I have used Perl 5.6 for a long time wishing that i could use a scalar
as a filehandle before realizing that i can do it only when i read PBP
I did find typeglobs useful for a very few cases when using them to
play with variable scope improved readability.
Perl mailing list
Perl at perl.org.il
More information about the Perl