Re: intro

[email protected] (John Porter)
Newsgroups perl.trainers
Message-ID <[email protected]>
Peter Scott wrote:
> 
> I don't 
> even mention dynamic variables until the object-oriented class I'm 
> currently designing for a day 4, when it's kinda unavoidable :-)

Huh?  I write plenty of OO code, and I find the need for global
vars very rare.  But what, IMHO, *is* unavoidable is the occasional
need to

	local $/ = '';

	local $" = ', ';

	local $^W;

	local $_;  # for some loops

and so on.  This is what makes globals truly unavoidable.

-- 
John Porter
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.