Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
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 scrutinizing the Monastery: (5)
As of 2017-01-17 02:55 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you watch meteor showers?




    Results (151 votes). Check out past polls.