Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re^3: Regex to extract number from text file

by dxxd116 (Beadle)
on Feb 18, 2009 at 13:49 UTC ( #744753=note: print w/replies, xml ) Need Help??


in reply to Re^2: Regex to extract number from text file
in thread Regex to extract number from text file

You need to change the code:
my $search =~ m/ClearQuest\: \(Total of 18 licenses issued\; Total of +(\d+)/;
to:
(my $search)=$_=~ m/ClearQuest\: \(Total of 18 licenses issued\; Total + of (\d+)/;

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://744753]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (5)
As of 2017-02-23 04:12 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Before electricity was invented, what was the Electric Eel called?






    Results (339 votes). Check out past polls.