> What does $ stand for in the following statement?
>
> print"$_\t", "*" x $n, "\n";
>
$_ is the default input and pattern-searching space.
Snipped from man perlvar:
PERLVAR(1) Perl Programmers Reference Guide PERLVAR(1)
NAME
perlvar - Perl predefined variables
DESCRIPT
On Jan 19, Naveen Parmar said:
>What does $ stand for in the following statement?
>
>print"$_\t", "*" x $n, "\n";
$_ is a variable. It's the default variable, for things like loops and
whatnot.
perldoc perlvar
--
Jeff "japhy" Pinyan [EMAIL PROTECTED] http://www.pobox.com/~japhy/
RP
What does $ stand for in the following statement?
print"$_\t", "*" x $n, "\n";
TIA,
- NP
_
MSN Photos is the easiest way to share and print your photos:
http://photos.msn.com/support/worldwide.aspx
--
To unsubscribe, e-mail: [