in reply to Re^2: Extract varibles from 2 text files and make a report
in thread Extract varibles from 2 text files and make a report
If your goal is to discard everything following "AAA" or "BBB", and so on, you could modify the split statement to look like this:
@prods = split(/\s[^\n]+\n/, $prod);
This will remove everything following the first whitespace character in each of the lines following "Product Name:". Is that what you were trying to do?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: Extract varibles from 2 text files and make a report
by Anonymous Monk on Oct 26, 2004 at 19:26 UTC | |
by JediWizard (Deacon) on Oct 26, 2004 at 19:51 UTC | |
by Anonymous Monk on Oct 26, 2004 at 20:30 UTC | |
|
Re^4: Extract varibles from 2 text files and make a report
by Anonymous Monk on Oct 26, 2004 at 19:36 UTC |