Newsgroups: comp.lang.perl.misc
From: Uri Guttman <u...@stemsystems.com>
Date: Thu, 15 May 2008 21:47:04 GMT
Local: Thurs, May 15 2008 5:47 pm
Subject: Re: Need ideas on how to make this code faster than a speeding turtle
>> Huh? Are you saying I don't need the 'out' file?
yes. c> Maybe something like this? c> my (@shit, $read, $build, @product, @id, @sku, @upc, @weight); c> open(IN, '<', 'input') || die "cant open: $!"; c> @product = grep(/Product ID/, @temp); c> print @product; c> However, I don't know how to use LWP. Again, would the code run faster better but forking off lynx is still slow. LWP should be much faster. if depending on how fast you need it (cpu usage will spike with the greps uri -- You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
| ||||||||||||||