in reply to To print one line from a file? Non-loop?
This will output "the first line". Or if you decide you need to put the file into an array I'd recommend using Dominus' Tie::File module.print scalar <DATA>; __DATA__ the first line the second line
_________
broquaint
|
|---|