> I actually saw this in the newsgroups and thought it was a neat idea. What
> about
> println $textvar;
> instead of
> print "$textvar\n";
> Ever so much easier to read and write, prints the arg and appends \n.
]- I thought 'bout this too, but I think it is not general enought..Why ?
we shall then add this too :
printbr "text";
i.e.
print "text<BR>";
OR printtd, printtr
print "<TD>text</TD>";
and many other like this !!!
current way for many prints operators is :
$old = $\;
$\ = "\n";
print ...
print ...
....
print ...
$ =$old;
OR
{
local $\ = "\n";
print ...
print ...
....
print ...
}
There shall be easier way in Perl6 for doing this ... I too get really tired
of these "\n" and <BR>'s at the end....
ALSO ...
print @array;
must work like this :
foraeach (@array) { print "$_\n"};
foraeach (@array) { print "$_<BR>"};
not like at the moment :
foraeach (@array) { print $_};
=====
iVAN
[EMAIL PROTECTED]
=====