in reply to Mathematics skills
my returns a valid Lvalue, that is, you can write my $var just about anywhere you can write $var.
Beware though: my ($vlnum) = <STDIN> (note the parens) is not what you want here. It gives you list context, in which the <FH> operator slurps the entire input first, then you get the first line assigned to $vlnum, and the rest is thrown away.
Makeshifts last the longest.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re:x2 Mathematics skills
by grinder (Bishop) on Oct 12, 2002 at 17:30 UTC | |
by Aristotle (Chancellor) on Oct 12, 2002 at 17:59 UTC |