Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change

Re^2: $1[

by rsFalse (Chaplain)
on Oct 10, 2017 at 19:59 UTC ( #1201118=note: print w/replies, xml ) Need Help??

in reply to Re: $1[
in thread $1[

Problem I was solving was more complicated, I only left some context in which I have used square brackets. I've simplified for show a problem of interpreting '$1[', which looks to me as a bug.

Replies are listed 'Best First'.
Re^3: $1[
by Anonymous Monk on Feb 06, 2019 at 12:34 UTC

    No, for sure it is not a bug. When in doubt use the ${name} form inside of double quoted strings, or other contexts with similar rules. This could have happened with a var named $foo

    demerphq (dmq but i can't be bothered to log in)

      That was me. Can't even remember my account name apparently. :-)


Log In?

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1201118]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (2)
As of 2022-06-25 05:13 GMT
Find Nodes?
    Voting Booth?
    My most frequent journeys are powered by:

    Results (81 votes). Check out past polls.