Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid

Re^3: help need with flexlm

by vkknava (Initiate)
on May 04, 2013 at 14:56 UTC ( #1032048=note: print w/ replies, xml ) Need Help??

in reply to Re^2: help need with flexlm
in thread help need with flexlm

I tried with the first half of the code. But it is not printing the number.

Another thing is I have many products in the output file. I am calculating the usage of each product.

#!/usr/bin/perl local $/; open(DAT, "output1.txt") || die("Could not open file!"); my $line = <DAT>; my $product; if ( $line =~ m/Users of/ ) { $line =~ m@Product(\d+):@; $product = $1; print $product; }

Comment on Re^3: help need with flexlm
Download Code

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (11)
As of 2015-11-25 19:02 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (685 votes), past polls