Re: unhead (FWP)
[email protected] (Yitzchak Scott-Thoennes)
| Newsgroups | perl.fwp |
|---|---|
| Organization | bs"d |
| Message-ID | <[email protected]> |
On Mon, Sep 27, 2004 at 11:06:52AM +0100, Ian Phillipps wrote:
> perl -pe 'BEGIN{<> for 1..4}'
>
> Or - and here's the real fun - it changes the meaning of "..":
>
> perl -pe 'BEGIN{<> if 1..4}'
That does nothing for me (since 1..4 is false).
Do you mean something like BEGIN{<> while 0..3} ?