in reply to Re: Deletes All Records not just one
in thread Deletes All Records not just one
A simple ++ is not enough. You have hit the nail on the head. His code currently prints to STDOUT instead of printing to the file.
package Cow { use Moo; has name => (is => 'lazy', default => sub { 'Mooington' }) } say Cow->new->name
|
---|
In Section
Seekers of Perl Wisdom