[northwestengland.pm] Newbie question

Tim Dobson lists at tdobson.net
Tue Jun 21 21:14:42 GMT 2011


On 21/06/11 10:49, Ian Norton wrote:
>> I hope an absolute[1] newbie plea for a few friendly shoves in the right
>> direction won't be unwelcome here. :)
> Absolutely, you're very welcome here.


> Hmm, I'm not sure that line by line would be the way forward for this
> as you need to read ahead to the end of the block before you print it
> out.

Good call.

> My approach would be to read the whole thing into memory and then spit
> it out again once you've done any processing you need.  I'll start you
> off with the reading in part:
> http://pastebin.ubuntu.com/630332/
> Of course, there's more than one way to do it...  :)

Oooh, Thank you very much! :D
/me goes and reads

> This would be easier on IRC :)  irc.perl.org #northwestengland.pm

Joined, though it has to be said, the hours I tend start work on things,
aren't generally very sociable. :(

Thanks again,


More information about the northwestengland.pm mailing list