Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
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 the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (7)
As of 2016-06-30 10:21 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My preferred method of making French fries (chips) is in a ...











    Results (392 votes). Check out past polls.