ibneko: (Default)
[personal profile] ibneko
...what the heck the \ before the variables mean in perl...?

LJ::do_request(\%req, \%res, $flags);

[ edit | 11:10 ]
ah, nevermind, I found it on google.. had to search for "slash before" and perl though. Apparently it's Dereferencing. WTF??? =.= Why the holy flying fuck would you even want to do that? Now, I suppose the memory location would be useful.. but WHY is livejournal calling that when you do post? Why is it sending do_request() the memory location of those hashes (any perl variable that starts with the % is a hash, perl variables that start with @ are arrays, and $ are scalars) instead of the actual value.

I don't comprehend the madness. Fuckit, that's irritating me. Now I need to spend time reading the de_request function. Buggers.

...yeah, I know there was more cursing there than usual, but it irritates me that that wasn't covered in "Learning Perl" ¬.¬ stupid book and stupid llamas.

Date: 2004-01-26 05:19 am (UTC)
From: [identity profile] andr00.livejournal.com
I read the blue O'Reilly "Perl" book ('the camel book') from cover to cover, and made up little exercises and things for myself so I'd remember what was in it. Read that one! Read the whole thing!

Date: 2004-01-26 05:38 am (UTC)
From: [identity profile] ibneko.livejournal.com
Oh, the camel book, okey. ::has the llama book at the moment... the shortened camel?::

Expand Cut Tags

No cut tags

Profile

ibneko: (Default)
ibneko

Most Popular Tags

Style Credit

Page generated Feb. 13th, 2026 07:00 pm
Powered by Dreamwidth Studios
January 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 2021