Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re: I think I'm starting to get it

by nashdj (Friar)
on Apr 04, 2001 at 14:16 UTC ( #69605=note: print w/ replies, xml ) Need Help??


in reply to I think I'm starting to get it

If perl only interpolated strings once, you couldn't do stuff like...

Maybe I'm completely off track and aren't understanding what you are saying. But since when does it interpolate twice?

Your example there just gives me:

can I get you a $bar? can I get you a $bar?
I was under the impression that you could *only* interpolate within double quotations. (well, and a few other things). If you really did want it to interpolate twice there are some pointers at: Double Interpolation of a String.

Also if you are dealing with win9x, most of the time c:/windows/desktop should function the same way as c:\\windows\\desktop. (unfortunately this seems to have changed in 2k, or maybe its an NT thing..)


Comment on Re: I think I'm starting to get it
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (11)
As of 2014-08-21 14:36 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (136 votes), past polls