Beefy Boxes and Bandwidth Generously Provided by pair Networks Cowboy Neal with Hat
We don't bite newbies here... much
 
PerlMonks  

Re: substitution doesn't work properly?

by BorgCopyeditor (Friar)
on Dec 11, 2005 at 14:22 UTC ( [id://515888]=note: print w/replies, xml ) Need Help??

This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.


in reply to substitution doesn't work properly?

A minimal code sample that reproduces the problem is essential if you're going to get any useful help. That said, the most likely explanation, just to expand on what the above poster already said, is that you've placed your variable in single quotes in your print statement. One difference between single and double quotes is that double quotes allow "interpolation"; stated roughly, they substitute the values of variables for their names. To get into the nitty-gritty of it, you should read perldoc perlop, especially the section on "Quote and Quote-like Operators."

BCE
--Your punctuation skills are insufficient!

  • Comment on Re: substitution doesn't work properly?

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://515888]
help
Sections?
Information?
Find Nodes?
Leftovers?
    Notices?
    hippoepoptai's answer Re: how do I set a cookie and redirect was blessed by hippo!
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.