in reply to Re: non numeric data
in thread non numeric data

/\D/ matches 1.1, -4 and 1000000000000000 (depending on your CPU architecture).

package Cow { use Moo; has name => (is => 'lazy', default => sub { 'Mooington' }) } say Cow->new->name

Replies are listed 'Best First'.
Re^3: non numeric data
by Happy-the-monk (Canon) on Jun 24, 2013 at 16:06 UTC

    /\D/ matches 1.1, -4 and 1000000000000000 (depending on your CPU architecture).

    Good point, tobyink!

    Cheers, Sören

    (hooked on the Perl Programming language)