Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re^2: Newbie question

by oldB51 (Sexton)
on Aug 23, 2022 at 12:49 UTC ( [id://11146316]=note: print w/replies, xml ) Need Help??


in reply to Re: Newbie question
in thread Newbie question

Fantastic re no warning numeric. Works fine without the abs.

Replies are listed 'Best First'.
Re^3: Newbie question
by hippo (Bishop) on Aug 23, 2022 at 15:31 UTC

    If you don't want to use abs and you don't want the warnings, there's always

    my @digits = /\d/aag;

    🦛

      Yes interesting. The regular expression avoids the use of split and abs. Regular expressions are someway down my learning list so I must simply note it for the future. Clearly Perl has many attack lines.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://11146316]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others sharing their wisdom with the Monastery: (3)
As of 2024-04-24 22:05 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found