in reply to Re^2: ::'s role in strings
in thread ::'s role in strings
I used 5.6.1.
a: Undefined variable.
I'm susprised by the output you get. Is that really what you got for output? from perl? No, it's from your shell. Use single quotes.
Why does/should this work?
It's probably just an unintentional side-effect. It's to avoid ambiguitities when using indirect method calls. I wouldn't use :: as a quoting mechanism.
Updated: Thanks to japhy and jhourcle for the corrections/elaborations.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: ::'s role in strings
by japhy (Canon) on Apr 27, 2006 at 19:05 UTC | |
|
Re^4: ::'s role in strings
by eff_i_g (Curate) on Apr 27, 2006 at 19:47 UTC | |
|
Re^4: ::'s role in strings
by jhourcle (Prior) on Apr 27, 2006 at 19:18 UTC | |
by ikegami (Patriarch) on Apr 27, 2006 at 19:28 UTC |