----- Original Message ----- From: <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Friday, March 10, 2006 3:11 PM
Subject: Anyone ever "burp" a file output?


Dear Wizards, Gurus, Monks, and all-around know-it-alls,

I've got a program that updates, and prints out to a new file, an HTML
file (about 3,500 lines) line-by-line after slurping it into an array.
I've just come across File::Slurp, which has a sub to "burp" (i.e.: the
opposite direction of slurp) an array out to a file in one operation. The
question is, will I get enough of a performance boost from the burp to
make the modification to the script worthwhile.

"reverse" keyword don't help you? See this

@x = (1,2,3);
print @a;
123
@a = reverse @a;
print @a;
321

Petr Vileta, Czech republic
(My server reject all messages from Yahoo and Hotmail. Send me your mail from another non-spammer site please.)


_______________________________________________
ActivePerl mailing list
[email protected]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to