Main Page | Report this Page
 
Computers Forum Index  »  Computer Languages (Perl - Modules)  »  Syntax error using cpan leads to bizarre behavior
Page 1 of 1    

Syntax error using cpan leads to bizarre behavior

Author Message
Jim Keenan
Posted: Sat Sep 11, 2004 6:48 pm
Guest
"Tassilo v. Parseval" <tassilo.von.parseval@rwth-aachen.de> wrote in message news:<2qfg6bFup3jpU1@uni-berlin.de>...
Quote:
Also sprach Jim Keenan:

Once I read the docs more closely, I realize that that extraneous
'install' was triggering the bizarre behavior. But I have no idea
what the relation is between the extraneous 'install' and Junoscript.

The reason is that Junoscript has a file called 'install.pm' in the
toplevel-directory of the tarball. Since CPAN doesn't need to be fed the
toplevel name of a module but just the name of one of its packages,
trying to install 'install' will yield the above behaviour.

Tassilo

Which I might have deduced if I had paid more attention to this line
in the printout:

Quote:
Running install for module install

And since the cpan utility can take a *list* of module names, once I
frustrated its attempt to install the Junoscript distro, it proceeded
to install the package I wanted in the first place.

Thanks.

jimk
 
 
Page 1 of 1    
All times are GMT
The time now is Sat Jul 04, 2009 7:41 pm