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; }
In reply to Re^3: help need with flexlm
by vkknava
in thread help need with flexlm
by vkknava
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |