exactly the same thing in perl
When you misquote me ("something else" instead of what I actually said: "something to that effect"), that sure does seem like it's the case.
print substr("Just another Perl hacker", 0, -2); |
|
- apotheon
CopyWrite Chad Perrin |
| [reply] |
__FILE__ is exactly the same thing in perl: a variable, a constant, or something else.
Except that it cannot be interpolated (not unreasonably).
| [reply] |
"This string varies depending on @{[__FILE__]}."
-- [ e d @ h a l l e y . c c ]
| [reply] [d/l] |
| [reply] |