You should use the following:
cpan YAML
or, if you want to follow the hints of the CPAN command, you will need to enter the cpan shell:
$ cpan cpan>
There you can enter the i/YAML/ command to get information about YAML modules.
I'm not sure where you picked up cpan YAML-0.71 as a valid command to enter.
In reply to Re^7: WWW::mechanize install
by Corion
in thread WWW::mechanize install
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |