[svn:parrot] r37796 - trunk/runtime/parrot/library
barney at svn.parrot.org
barney at svn.parrot.org
Sat Mar 28 11:29:53 UTC 2009
Author: barney
Date: Sat Mar 28 11:29:53 2009
New Revision: 37796
URL: https://trac.parrot.org/parrot/changeset/37796
Log:
[library] loading with "library" is bad with installed Parrot"
Modified:
trunk/runtime/parrot/library/yaml_dumper.pir
Modified: trunk/runtime/parrot/library/yaml_dumper.pir
==============================================================================
--- trunk/runtime/parrot/library/yaml_dumper.pir Sat Mar 28 11:18:18 2009 (r37795)
+++ trunk/runtime/parrot/library/yaml_dumper.pir Sat Mar 28 11:29:53 2009 (r37796)
@@ -1,4 +1,4 @@
-# Copyright 2008, Parrot Foundation.
+# Copyright 200-2009, Parrot Foundation.
# $Id$
=head1 TITLE
@@ -20,7 +20,7 @@
...
END
- .include "library/yaml_dumper.pir"
+ .include "yaml_dumper.pir"
=head1 DESCRIPTION
@@ -32,7 +32,7 @@
# first method prints usage information
.sub __library_dumper_onload
print "usage:"
- print "\tload_bytecode \"library/YAML/Dumper.pir\"\n"
+ print "\tload_bytecode \"YAML/Dumper.pir\"\n"
print "\t...\n"
print "\tnew yaml, \"YAML::Dumper\"\n"
print "\tyaml.\"yaml\"( foo, \"foo\" )\n\n"
@@ -71,7 +71,7 @@
the dumped data as a string, like Perl's Data::Dumper. Instead,
everything is printed out using C<print>.
-B<Note: #2> Hash keys are now sorted using C<_sort()> (library/sort.pir)
+B<Note: #2> Hash keys are now sorted using C<_sort()> (sort.pir)
=cut
@@ -151,13 +151,13 @@
goto TYPE_OK
load_yd_pir:
- load_bytecode "library/YAML/Dumper.pir"
+ load_bytecode "YAML/Dumper.pir"
get_class yd_class, "YAML::Dumper"
if null yd_class goto no_class
goto TYPE_OK
no_class:
- print "fatal error: failure while loading library/YAML/Dumper.pir\n"
+ print "fatal error: failure while loading YAML/Dumper.pir\n"
end
TYPE_OK:
@@ -182,12 +182,9 @@
and maintainer.
Please send patches and suggestions to the Perl 6 Internals mailing list.
-=head1 COPYRIGHT
-
-Copyright (C) 2004-2008, Parrot Foundation.
-
=cut
+
# Local Variables:
# mode: pir
# fill-column: 100
More information about the parrot-commits
mailing list