Bug 567620
| Summary: | YAML::Dumper fails with Can't locate object method "global_object" | ||
|---|---|---|---|
| Product: | [Fedora] Fedora EPEL | Reporter: | Till Maas <opensource> |
| Component: | perl-YAML | Assignee: | Steven Pritchard <steve> |
| Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | medium | Docs Contact: | |
| Priority: | low | ||
| Version: | el5 | CC: | perl-devel, steve |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | ActualBug | ||
| Fixed In Version: | perl-YAML-0.66-3.el5 | Doc Type: | Bug Fix |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2014-09-24 03:41:51 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
Bug confirmed. Work around: use YAML; before the first line. Reported 4 years ago upstream... https://rt.cpan.org/Public/Bug/Display.html?id=19838 perl-YAML-0.66-3.el5 has been submitted as an update for Fedora EPEL 5. https://admin.fedoraproject.org/updates/perl-YAML-0.66-3.el5 Package perl-YAML-0.66-3.el5: * should fix your issue, * was pushed to the Fedora EPEL 5 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=epel-testing perl-YAML-0.66-3.el5' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-EPEL-2014-2311/perl-YAML-0.66-3.el5 then log in and leave karma (feedback). perl-YAML-0.66-3.el5 has been pushed to the Fedora EPEL 5 stable repository. If problems still persist, please make note of it in this bug report. |
Description of problem: YAML::Dumper minimum example does not work. Version-Release number of selected component (if applicable): perl-YAML.noarch 0:0.66-2.el5 How reproducible: always Steps to Reproduce: Try to run this script: use YAML::Dumper; my $dumper = YAML::Dumper->new; $dumper->indent_width(4); print $dumper->dump({foo => 'bar'}); from http://search.cpan.org/dist/YAML/lib/YAML/Dumper.pm Actual results: Can't locate object method "global_object" via package "YAML" at /usr/lib/perl5/vendor_perl/5.8.8/YAML/Dumper.pm line 145. Expected results: Should print a yaml stream. Additional info: