Re: loop break condition
- From: merlyn@xxxxxxxxxxxxxx ((Randal L. Schwartz))
- Date: Mon, 22 Aug 2011 16:37:05 -0700
"anant" == anant mittal <perl.anant@xxxxxxxxx> writes:
anant> $ln[$i]=<stdin>;
I'd swear that lowercase "stdin" was deprecated already, but I can't
find any record of it in the deltas, and it still works in 5.12 (I don't
have 5.14 compiled here).
In any case, you should shift to the proper STDIN, as everyone else's
answer gave, even though they didn't explicitly call this out.
--
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
<merlyn@xxxxxxxxxxxxxx> <URL:http://www.stonehenge.com/merlyn/>
Smalltalk/Perl/Unix consulting, Technical writing, Comedy, etc. etc.
See http://methodsandmessages.posterous.com/ for Smalltalk discussion
.
- Follow-Ups:
- Re: loop break condition
- From: Shawn H Corey
- Re: loop break condition
- References:
- loop break condition
- From: anant mittal
- loop break condition
- Prev by Date: Re: Find and Replace in Textfile
- Next by Date: Re: 3-argument open on STDIN
- Previous by thread: Re: loop break condition
- Next by thread: Re: loop break condition
- Index(es):