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 ( [id://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?Last hourOther CB clients
Other Users?
Others goofing around in the Monastery: (3)
As of 2024-03-29 05:05 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found