Check out the documentation on the eval function perldoc -f eval
-----Original Message----- From: Ryan Perry [mailto:[EMAIL PROTECTED] Sent: Monday, August 07, 2006 1:12 AM To: Perl Beginners Subject: string to perl I have a string I want to pass to another function and I want that function to evaluate it as perl code: <snip> -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>