Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re^2: Match multiple number

by choroba (Cardinal)
on Aug 18, 2018 at 07:05 UTC ( [id://1220561]=note: print w/replies, xml ) Need Help??


in reply to Re: Match multiple number
in thread Match multiple number

my $Number = '!56'; if ( $Number =~ /\d*[05]/ ) { say "$Number is divisible by 5."; warn 'Really?'; }

A dollar sign missing somewhere at least.

($q=q:Sq=~/;[c](.)(.)/;chr(-||-|5+lengthSq)`"S|oS2"`map{chr |+ord }map{substrSq`S_+|`|}3E|-|`7**2-3:)=~y+S|`+$1,++print+eval$q,q,a,

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others having a coffee break in the Monastery: (4)
As of 2024-04-19 13:32 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found