in reply to Single quotes inside variable names

Note that the ' to :: translation can trip you up in surprising places:
%foo = (a'b => "foo"); $foo{c'd} = "foo"; print join "," keys %foo; __END__ a::b,c::d

Replies are listed 'Best First'.
Re^2: Single quotes inside variable names
by japhy (Canon) on Aug 12, 2005 at 18:20 UTC
    I find it's more irksome in a situation like print "You have $person's property!"

    Jeff japhy Pinyan, P.L., P.M., P.O.D, X.S.: Perl, regex, and perl hacker
    How can we ever be the sold short or the cheated, we who for every service have long ago been overpaid? ~~ Meister Eckhart