*NOTE: To skip directly to the problem itself, skip to the bolded text
below. However, I thought I would give some background context first.*


Hi,

My name is Michael, and I am trying to get into Perl.  While I have Ubuntu
Linux installed on my computer, my default environment is Windows 7, and
ideally I would like to do everything on this OS.  I would also ideally
prefer to use a single IDE than a text editor + compiler.  Apparently,
Padre is typically the IDE that everyone uses.

So I started here:

http://learn.perl.org/installing/windows.html

However, instead of JUST installing Padre, I installed DWIM Perl, which
includes Padre, Strawberry Perl, and many other goodies.

http://padre.perlide.org/download.html

So after downloading and installing it, what's the next step?  Is a reboot
of my computer necessary (especially since it doesn't explicitly tell me to
do so)?  Do I use the command "cpan App::cpanminus" as per the first link
above?  Do I go to the following page and run the following script in the
DOS window?

http://padre.perlide.org/howto.html

C:\Dwimperl\perl\bin\perl.exe -MCPAN -e "CPAN->upgrade('/^Padre/')"


The problem is that when I run that script, many of those tests fail.
The "cpan
App::cpanminus" command does not work either, as I receive the following
error:

*Can't locate App/Cpan.pm in @INC (@INC contains: /usr/lib/perl5/5.8.8/msys
/usr/*
*lib/perl5/5.8.8 /usr/lib/perl5/site_perl/5.8.8/msys
/usr/lib/perl5/site_perl/5.8*
*.8 /usr/lib/perl5/site_perl .) at /c/Dwimperl/perl/bin/cpan line 5.*
*BEGIN failed--compilation aborted at /c/Dwimperl/perl/bin/cpan line 5.*


*****************************
However, I'm not sure if these extra commands in the DOS window are
necessary, so let's just go right to Padre.


*In Padre, I have typed the simple script
**
print "Hello world\n";

and yet when I choose Run > Run Script, nothing happens.  No new window, no
indication that it's compiled or failed...nothing.  In addition, when I
choose Tools > Module Tools > Open CPAN Config File, I get the error
"Failed to find your CPAN configuration".

I'm at my wit's end trying to figure out how to make this work.  Any help
would be much appreciated.


Thank you very much,

Michael*

Reply via email to