in reply to
Re^5: Illegal division by zero error
in thread
Illegal division by zero error
Thank you. This seems to have solved it. I didn't realise that /^\s+$/ relied on their being 1 or more.
Comment on
Re^6: Illegal division by zero error
Replies are listed 'Best First'.
Re^7: Illegal division by zero error
by
poj
(Abbot)
on Feb 01, 2016 at 18:30 UTC
OK, have a look at quantifiers in
perlre
[reply]
In Section
Seekers of Perl Wisdom