470,619 Members | 1,829 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 470,619 developers. It's quick & easy.

Dynamic Perl statements

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?

Jul 19 '05 #1
1 1830
Larry Dare wrote:
[...]
Is there away to put together a perl command in a string and then
execute the string.


Please see "perldoc -f eval"

jue
Jul 19 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

52 posts views Thread by Olivier Scalbert | last post: by
3 posts views Thread by lonelyplanet999 | last post: by
7 posts views Thread by Michael C# | last post: by
5 posts views Thread by Todd Huish | last post: by
3 posts views Thread by Alexandre H. Guerra | last post: by
6 posts views Thread by =?ISO-8859-1?Q?Tim_B=FCthe?= | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.