in reply to Re^2: Reading specific lines in a file ( Path::Tiny::lines patch)
in thread Reading specific lines in a file

This doesn't count as a one-liner until the method is included in the CPAN version of Path::Tiny. Hint, hint... ;-)

use Moops; class Cow :rw { has name => (default => 'Ermintrude') }; say Cow->new->name
  • Comment on Re^3: Reading specific lines in a file ( Path::Tiny::lines patch)