* Peter Bevan ([EMAIL PROTECTED]) [09 Aug 2000 20:08]:
> To: "raptor" <[EMAIL PROTECTED]>
[...]
> > print @array;
> >
> > must work like this :
> > foraeach (@array) { print "$_\n"};
> > foraeach (@array) { print "$_<BR>"};
> >
> > not like at the moment :
> > foraeach (@array) { print $_};
> This I totally disagree with. The use of an array in scalar context
> does (and I believe should always) return it's length. It is one of
> Perl's single most usful features (in my expirience)...
Almost. print @array is a list context.
cheers,
--
iain truskett, aka Koschei. <http://eh.org/~koschei/>
Q: How do I block warnings?
A: The simplest way is to do: close STDERR; -- perliaq.