?

Log in

No account? Create an account

Thu, Mar. 20th, 2003, 11:34 am
finally.

Last night I finally fixed this fucking script i use to post poems on my website. damn...it was all in one place. i'm always pleased when i figure something out that people who supposedly know what they're doing can't. hoorah. thank god. now i can add new poems to my site and fix up other text documents so they run on the same system, an action that had been direly needed.

now, time to finish up that work and then wake up.
then, ski cabin i think. : )

Thu, Mar. 20th, 2003 12:51 pm (UTC)
yiyi

what was wrong wid tha beast?

Thu, Mar. 20th, 2003 02:23 pm (UTC)
holyloki

for some reason in the first round of file parsing it needed a line break translator and it was set to simpletext(mac's old default text editor) line breaks, \r
so just switching that to \n did it. (see below)
now it reads plain text perfectly, and although i had to convert all my old files, it wasn't that hard and now i can add files and convert my essays and whatnot to this format to increase ease in updating.


$/ = "\r"; <-----
my $title = ;
$/ = undef;
my $content = ;
close(F);