Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re: Resolving Imbedded Variables

by donarb (Beadle)
on Nov 07, 2005 at 17:35 UTC ( #506459=note: print w/replies, xml ) Need Help??


in reply to Resolving Imbedded Variables

The problem is that you are using single quotes around your output string. Use double quotes instead:
$text="titl=This is test $ma_test of $mb_test broadcasting system";
You should read up on variable interpolation and the different ways of quoting strings.

Replies are listed 'Best First'.
Re^2: Resolving Imbedded Variables
by davidrw (Prior) on Nov 07, 2005 at 17:42 UTC
    I think he's getting that string, sigils and all, out of a database and is really looking for a custom templating solution.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (2)
As of 2022-01-17 02:24 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    In 2022, my preferred method to securely store passwords is:












    Results (50 votes). Check out past polls.

    Notices?