Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the YAML CPAN distribution.

Report information
The Basics
Id: 24151
Status: resolved
Priority: 0/
Queue: YAML

People
Owner: Nobody in particular
Requestors: ivan.wills [...] gmail.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: 0.85



Subject: YAML::Dumper errors on comandline
Date: Sat, 30 Dec 2006 08:38:39 +1000
To: bug-YAML [...] rt.cpan.org
From: "Ivan Wills" <ivan.wills [...] gmail.com>
I am just trying to see the format that YAML::Dumper outputs with the following command perl -MYAML::Dumper -e 'print YAML::Dumper->new->dump({foo=>"bar"}), "\n"' but I get the error: Can't locate object method "global_object" via package "YAML" at /usr/local/share/perl/5.8.8/YAML/D +umper.pm line 147. I am using YAML 0.62 any ideas? Ivan Wills -- email/jabber: ivan.wills@gmail.com / / _ _ / \ / | | | | / \/ \_| | |
From: BORISZ [...] cpan.org
Until YAML::Dumper is fixed use this workaround: perl -MYAML -MYAML::Dumper -e 'print YAML::Dumper->new->dump({foo=>"bar"}), "\n"' On Fr. 29. Dez. 2006, 17:38:59, ivan.wills@gmail.com wrote: Show quoted text
> I am just trying to see the format that YAML::Dumper outputs with the > following command > > perl -MYAML::Dumper -e 'print YAML::Dumper->new->dump({foo=>"bar"}), "\n"' > but I get the error: > Can't locate object method "global_object" via package "YAML" at > /usr/local/share/perl/5.8.8/YAML/D +umper.pm line 147. > > I am using YAML 0.62 any ideas? > > Ivan Wills
-- -- Boris
This issue has been copied to: https://github.com/ingydotnet/yaml-pm/issues/76 please take all future correspondence there. This ticket will remain open but please do not reply here. This ticket will be closed when the github issue is dealt with.
Seems to have been fixed in 0.85