you're correct that when you precede an unquoted variable with a backslash, you get a reference to it.
# this will print a memory address like SCALAR(0x1e8feac) print \$test;
__________
Build a man a fire, and he'll be warm for a day. Set a man on fire, and he'll be warm for the rest of his life.
- Terry Pratchett
In reply to Re: what is \ in perl
by EvanK
in thread what is \ in perl
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |