[ic] Perl advisory

Paul Vinciguerra pvinci at vinciguerra.com
Wed Sep 24 02:18:22 EDT 2003


On Tue, 23 Sep 2003 23:28:21 -0400, Jason Lee wrote
> Mike Heins wrote:
> [snip]
> > In any case, the update to Safe v1.09 is as simple as:
> > 
> > 	perl -MCPAN -e 'install Safe'
> > 
> > It takes seconds because it is such a small Perl-only module.
> 
> Hmm, I have the latest RH 7.3 updates and am not able to run the 
> above command. Get this error:
> 
>   [root at titan root]# perl -MCPAN -e 'install Safe'
>   Can't locate object method "install" via package "Safe" (perhaps 
> you forgot to load "Safe"?) at -e line 1.
> 
>   [root at titan root]# perl -v
> 
>   This is perl, v5.6.1 built for i386-linux
> 
> Looks like I also have the unsafe Safe. ;)
> 
>   [root at titan root]# perl -MSafe -e 'print "$Safe::VERSION\n"'
>   2.06
I had that too. Just do the following:
# perl -MCPAN -e shell

cpan shell -- CPAN exploration and modules installation (v1.70)
ReadLine support enabled

cpan> install Safe

worked like a charm.

-Paul


More information about the interchange-users mailing list