Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Installing from CPAN -- YAML

4,164 views
Skip to first unread message

Klaus Jantzen

unread,
Mar 20, 2013, 11:33:28 AM3/20/13
to Beginner Perl
Hi,

when installing a module from CPAN I always get the hint that YAML is
not installed.

To solve the problem I tried to find YAML on CPAN and found dozens of
pages with YAML.
Scanning the entries I detected CPAN::Meta::YAML. Its documentation
seems to indicate that that is what I need.
I installed it but still get the message
'YAML' not installed, will not store persistent state.

So what should I install to satisfy the 'installer '?

Thanks for any hints.
--
K.D.J.

daniël

unread,
Mar 21, 2013, 11:47:34 AM3/21/13
to Klaus Jantzen, Beginner Perl
Hey Klaus,

run the cpan command then...

o conf yaml_module YAML <enter>
o conf commit

that'll tell the cpan module to use the YAML module.

hope this helps

daniël
> --
> To unsubscribe, e-mail: beginners-...@perl.org
> For additional commands, e-mail: beginne...@perl.org
> http://learn.perl.org/
>
>
>

Brandon McCaig

unread,
Mar 21, 2013, 3:58:26 PM3/21/13
to Klaus Jantzen, Beginner Perl
On Wed, Mar 20, 2013 at 04:33:28PM +0100, Klaus Jantzen wrote:
> Hi,

Hello,
Try installing 'YAML'. ;)

bash$ cpan YAML

HTH.

Regards,


--
Brandon McCaig <bamc...@gmail.com> <bamc...@castopulence.org>
Castopulence Software <https://www.castopulence.org/>
Blog <http://www.bamccaig.com/>
perl -E '$_=q{V zrna gur orfg jvgu jung V fnl. }.
q{Vg qbrfa'\''g nyjnlf fbhaq gung jnl.};
tr/A-Ma-mN-Zn-z/N-Zn-zA-Ma-m/;say'

signature.asc
0 new messages