On Sun, 5 Oct 2003, Tad McClellan wrote:
>
> On Sun, Oct 05, 2003 at 01:37:29PM +0200, Shlomi Fish wrote:
> > On Sun, 5 Oct 2003, Iain Truskett wrote:
>
>
> > > Lexical filehandles.
> >
> > Why is that so important?
>
>
> Because globals are bad, and lexicals are not global.
>
Right, but you can make them dynamically scoped using local. And I think
lexical filehandles (open my $file, "<hello.txt") were introduced only in
perl 5.6.x. There's also the FileHandle module.
>
> > > No ampersands when
> > > calling functions in the ordinary case.
> >
> > That's style
>
>
> No, thats _semantics_, using the ampersand _means_ something
> different from not using the ampersand.
>
I stand corrected. But I don't think I've used any ampersands in my
tutorial code.
>
> > and hardly a matter of grave importance.
>
>
> Beginners should take all the help they can get, prototype checking
> can help catch mistakes.
>
I see. Some people don't like prototypes very much. Others, don't use
them at all.
Regards,
Shlomi Fish
>
>
----------------------------------------------------------------------
Shlomi Fish [EMAIL PROTECTED]
Home Page: http://t2.technion.ac.il/~shlomif/
An apple a day will keep a doctor away. Two apples a day will keep two
doctors away.
Falk Fish