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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.