Well, that is ... weird
I'm in the middle of a Perl course, learning a little about how the language works. I figured I'd eventually volunteer as part of the Dreamwidth dev team, but I wanted at least a little knowledge of the language first.
Anyway, the lesson I just finished was the first to use perl in a web context. I just spend an hour trying to figure out why a dead-simple script wouldn't work, once I'd configured my local WAMP install to handle perl.
It won't accept leading whitespace.
I don't know right know if this is configurable on Apache, or if this is just the way web scripting works, but - I can't indent an IF statement, using either tabs or spaces? WTF? What kinda damn stupid language doesn't allow me to use whitespace to delineate my control structures?
There's gotta be a setting somewhere...
I'm in the middle of a Perl course, learning a little about how the language works. I figured I'd eventually volunteer as part of the Dreamwidth dev team, but I wanted at least a little knowledge of the language first.
Anyway, the lesson I just finished was the first to use perl in a web context. I just spend an hour trying to figure out why a dead-simple script wouldn't work, once I'd configured my local WAMP install to handle perl.
It won't accept leading whitespace.
I don't know right know if this is configurable on Apache, or if this is just the way web scripting works, but - I can't indent an IF statement, using either tabs or spaces? WTF? What kinda damn stupid language doesn't allow me to use whitespace to delineate my control structures?
There's gotta be a setting somewhere...