On Fri Feb 20 2009 @ 3:02, ramesh.marimu...@wipro.com wrote: > > Thanks Thomas. Actually when is give "use Expect;", the error I get is "Can't > locate Expect.pm in @INC ...". Is there anything that I'm missing or should I > check something? > > -ramesh
As a start, you can run this command to see what @INC is: perl -e '$"="\n"; print "@INC\n"' If you have multiple versions of Perl installed, make sure that the version you call in your script is the same as the one you use at the command line. (You can use 'which perl' at the command line to check that.) That is, if you call #!/usr/bin/perl in your script, make sure you aren't using /usr/local/bin/perl at the command line. Once you know what @INC is for your installation, you need to find where Expect got installed. Some combination of 'find' and 'locate' should help you out there. -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional commands, e-mail: beginners-h...@perl.org http://learn.perl.org/