--- Jonathan Yu <[EMAIL PROTECTED]> wrote: > "my" is a Perl command and so needs to be included in an -e string. > > Read the manpage on Perl for details. > > Jon
If I need to run following commands; use ExtUtils::Installed; my $inst = ExtUtils::Installed->new(); my @modules = $inst->modules(); ( http://perldoc.perl.org/perlfaq3.html#How-do-I-find-which-modules-are-installed-on-my-system%3f ) I should run; perl -ExtUtils::Installed -e 'my $inst = ExtUtils::Installed->new()'; -e 'my @modules = $inst->modules()'; ??? Thanks B.R. Stephen Send instant messages to your online friends http://uk.messenger.yahoo.com