in reply to how to print first 5 lines of a file

To print the first 5 lines of a file:
#!/usr/bin/perl seek( DATA, 0, 0 ); $/ = undef; print <DATA>; __DATA__

--
Snazzy tagline here