Beefy Boxes and Bandwidth Generously Provided by pair Networks BBQ
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re: Regular expression question

by gube (Parson)
on Mar 31, 2006 at 02:37 UTC ( [id://540403]=note: print w/replies, xml ) Need Help??

This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.


in reply to Regular expression question

Hi try this,

#!/usr/local/bin/perl -w use strict; my $str = "Identities = 1529/1540 (99%), Gaps = 2/1540 (0%)"; my ($output) = $str =~ m/(\d+%)/gsi; print "$output\n";

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://540403]
help
Sections?
Information?
Find Nodes?
Leftovers?
    Notices?
    hippoepoptai's answer Re: how do I set a cookie and redirect was blessed by hippo!
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.