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

Re: how to evaluate a variable in a string?

by chunlou (Curate)
on Jul 30, 2003 at 22:01 UTC ( #279386=note: print w/replies, xml ) Need Help??


in reply to how to evaluate a variable in a string?

Similar to fglock's first answer except for the variation:
$file=~s/$from/eval'"'.$to.'"'/sge;

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://279386]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (2)
As of 2018-02-25 08:54 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    When it is dark outside I am happiest to see ...














    Results (312 votes). Check out past polls.

    Notices?