Re: unhead
Eugene van der Pijll <[email protected]>
| Newsgroups | gmane.comp.lang.perl.fun |
|---|---|
| Message-ID | <[email protected]> |
Jose Alves de Castro schreef:
> Imagine you want to print a file, but without the first N lines...
>
> For any N, maybe this:
>
> print if ($N+1)..0;
>
> Any thoughts? Any other ideas? What would be the best way to do this?
I don't know about "best", but I rather like:
3...!print;
to print everything but the first 3 lines.
Eugene