X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=pod%2Fperlcall.pod;h=06f3aa33c74755d7b5d0a955d0b15779805ea8f5;hb=c1effa61278e47c916466883d74905b04fedc388;hp=08173d2e6968e8460ff9a4b40ee56ca8f2c4fd87;hpb=1c5b513e3fd8bc7a5a38ca94832b9e848ef0301d;p=p5sagit%2Fp5-mst-13.2.git diff --git a/pod/perlcall.pod b/pod/perlcall.pod index 08173d2..06f3aa3 100644 --- a/pod/perlcall.pod +++ b/pod/perlcall.pod @@ -1218,9 +1218,9 @@ virtual. The static method, C, prints out simply the class name and a version number. The virtual method, C, prints out a single element of the array. Here is an all Perl example of using it. - $a = new Mine ('red', 'green', 'blue'); + $a = Mine->new('red', 'green', 'blue'); $a->Display(1); - PrintID Mine; + Mine->PrintID; will print @@ -1277,7 +1277,7 @@ the C and C methods from C. So the methods C and C can be invoked like this - $a = new Mine ('red', 'green', 'blue'); + $a = Mine->new('red', 'green', 'blue'); call_Method($a, 'Display', 1); call_PrintID('Mine', 'PrintID');