laziness, impatience, and hubris | |
PerlMonks |
Literal Token __VALUE__by aardvark (Pilgrim) |
on Mar 16, 2001 at 21:17 UTC ( [id://64954]=perlquestion: print w/replies, xml ) | Need Help?? |
aardvark has asked for the wisdom of the Perl Monks concerning the following question:
I just got a new job and I've encountered a construct I've never seen. It's not broken, but I'm curious what's going on here;
It looks like a literal token. Programming Perl v.3 says, "You should consider any identifier that both begins and ends with a double underscore to be reserved for special syntactic use by Perl." (page 68)
When I put that line in a seperate script I get the error: There is other whackiness in this script, things like __TAG__ and __INSERT__ BTW - This is all going on inside a Perl script written for Interwoven. They seem to be subroutines, but why would anybody use literal tokens for subroutine names?. Is it even possible for people to add custom literal tokens to Perl? Get Strong Together!!
Back to
Seekers of Perl Wisdom
|
|