in reply to Re: Reading specific lines in a file
in thread Reading specific lines in a file

Thanks.
Works.
My hit-n-trial also worked out finally.
perl -e 'print ((`cat wordlist`)[60..70]);'

Replies are listed 'Best First'.
Re^3: Reading specific lines in a file
by Corion (Patriarch) on May 20, 2014 at 08:58 UTC

    If you want to eliminate `cat wordlist`, you can use File::Slurp or do { local @ARGV='wordlist'; <> }.

      That's right. But again, more than one line.
      use statement, then slurp statement, then print