in reply to running command from within perl script
Is this the sort of thing you were after?
ken@Miranda ~/tmp $ perl -wE 'while (<>) { system $_ }' pwd /home/ken/tmp date Tue, 12-Oct-2010 6:40:53 AM AUSEDT ken@Miranda ~/tmp [download]
-- Ken