Dynamic Perl statements

L

Larry Dare

Simply put this is what I would like to do

$str = "print \"this command \\n \" " ;

$str();


Doesnt work.

Is there away to put together a perl command in a string and then
execute the string.

Much like Dynamic SQL?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,777
Messages
2,569,604
Members
45,219
Latest member
KristieKoh

Latest Threads

Top