in reply to parsing/munging problems
I'm glad this isn't your exact code, because it isn't even perl. If you want help with code, you should really post your code along with some sample data you are trying to parse. If I read your explanation right though, you want something like this:
open(FILE, "<storedata.txt"); open(OUTP, ">exporteddata.txt"); chomp(my $storenum = <FILE>); # get the storenum while(<FILE>) { print OUTP "$storenum $_"; } close(OUTP); close(FILE);
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: parsing/munging problems
by nadadogg (Acolyte) on Feb 25, 2003 at 21:11 UTC | |
by Hofmator (Curate) on Feb 26, 2003 at 13:18 UTC | |
by nadadogg (Acolyte) on Feb 26, 2003 at 18:38 UTC | |
by nadadogg (Acolyte) on Mar 04, 2003 at 22:52 UTC | |
by Hofmator (Curate) on Mar 05, 2003 at 11:52 UTC |