Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re^3: Newbie question

by hippo (Bishop)
on Aug 23, 2022 at 15:31 UTC ( [id://11146322]=note: print w/replies, xml ) Need Help??


in reply to Re^2: Newbie question
in thread Newbie question

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

my @digits = /\d/aag;

🦛

Replies are listed 'Best First'.
Re^4: Newbie question
by oldB51 (Sexton) on Aug 23, 2022 at 16:06 UTC

    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://11146322]
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: (6)
As of 2024-04-19 08:51 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found