Author: coke Date: Wed Aug 8 10:18:45 2007 New Revision: 20564 Modified: trunk/docs/pdds/pdd21_namespaces.pod
Changes in other areas also in this revision: Modified: trunk/docs/imcc/imcfaq.pod Log: [docs] - avoid invalid '.local' syntax - avoid deprecated 'new' syntax Modified: trunk/docs/pdds/pdd21_namespaces.pod ============================================================================== --- trunk/docs/pdds/pdd21_namespaces.pod (original) +++ trunk/docs/pdds/pdd21_namespaces.pod Wed Aug 8 10:18:45 2007 @@ -481,7 +481,7 @@ .HLL "Perl5", "perl5_group" .namespace [ "Foo" ] .sub main :main - $P0 = new .PerlInt + $P0 = new 'PerlInt' $P0 = 5 set_global "$x", $P0 .end @@ -504,7 +504,7 @@ .HLL "Perl5", "perl5_group" .sub main :main # $a = 'x'; - $P0 = new .PerlString + $P0 = new 'PerlString' $P0 = "x" set_global "$a", $P0 # ${"Foo::$a"} = 5; @@ -515,7 +515,7 @@ $P2 = split "::", $S0 $S0 = pop $P2 $S0 = "$" . $S0 - $P3 = new .PerlInt + $P3 = new 'PerlInt' $P3 = 5 set_global $P2, $S0, $P3 .end