> "David" == David le Blanc <[EMAIL PROTECTED]> writes:
David> You are making the assumption that '' sets '$_' which is not
David> true. Oddly, perl makes '<>' set $_, but not ... dunno why
No, that's completely wrong.
--
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503
David le Blanc wrote:
...
> You are making the assumption that '' sets '$_' which is not
> true. Oddly, perl makes '<>' set $_, but not ... dunno why
Sorry, but that's just not correct.
while ()
DOES set $_, as documented in perldoc perlop under the secion "I/O
Operators"
The OP has some o
On Tue, 26 Oct 2004 11:33:24 +0200, Bastian Angerstein
<[EMAIL PROTECTED]> wrote:
>
> Why does this don´t work in my Script?
>
> open (TEST, " while () {
> print $_;
> # or just
> print;
> }
You are making the assumption that '' sets '$_' which is not
true. Oddly, perl makes '<>' set $_, bu
Bastian Angerstein wrote:
I noticed that while ($test=) works on my system perfectly but while () donÂt
... donÂt know why...
should reinstall perl.
Thanks for your help
Bastian
They should both work, why they don't is beyond me.
Please post on the list, I am *not* a all-seeing, all-knowing Perl g
c: Bastian Angerstein
Betreff: Re: Reading from a filehandle in while-loop
Bastian Angerstein wrote:
Why does this donÂt work in my Script?
open (TEST, ") {
print $_;
# or just
print;
}
Does the file exists and can you read it?
Bottompost, please.
Your script works on my machine. Is this you w
Bastian Angerstein wrote:
Why does this donÂt work in my Script?
open (TEST, ") {
print $_;
# or just
print;
}
Does the file exists and can you read it?
--
Flemming Greve SkovengaardThe killer's breed or the Demon's seed,
a.k.a Greven, TuxPowerThe glamour, the for