Add built local::lib
[catagits/Gitalist.git] / local-lib5 / man / man3 / Class::C3.3pm
1 .\" Automatically generated by Pod::Man v1.37, Pod::Parser v1.3
2 .\"
3 .\" Standard preamble:
4 .\" ========================================================================
5 .de Sh \" Subsection heading
6 .br
7 .if t .Sp
8 .ne 5
9 .PP
10 \fB\\$1\fR
11 .PP
12 ..
13 .de Sp \" Vertical space (when we can't use .PP)
14 .if t .sp .5v
15 .if n .sp
16 ..
17 .de Vb \" Begin verbatim text
18 .ft CW
19 .nf
20 .ne \\$1
21 ..
22 .de Ve \" End verbatim text
23 .ft R
24 .fi
25 ..
26 .\" Set up some character translations and predefined strings.  \*(-- will
27 .\" give an unbreakable dash, \*(PI will give pi, \*(L" will give a left
28 .\" double quote, and \*(R" will give a right double quote.  | will give a
29 .\" real vertical bar.  \*(C+ will give a nicer C++.  Capital omega is used to
30 .\" do unbreakable dashes and therefore won't be available.  \*(C` and \*(C'
31 .\" expand to `' in nroff, nothing in troff, for use with C<>.
32 .tr \(*W-|\(bv\*(Tr
33 .ds C+ C\v'-.1v'\h'-1p'\s-2+\h'-1p'+\s0\v'.1v'\h'-1p'
34 .ie n \{\
35 .    ds -- \(*W-
36 .    ds PI pi
37 .    if (\n(.H=4u)&(1m=24u) .ds -- \(*W\h'-12u'\(*W\h'-12u'-\" diablo 10 pitch
38 .    if (\n(.H=4u)&(1m=20u) .ds -- \(*W\h'-12u'\(*W\h'-8u'-\"  diablo 12 pitch
39 .    ds L" ""
40 .    ds R" ""
41 .    ds C` ""
42 .    ds C' ""
43 'br\}
44 .el\{\
45 .    ds -- \|\(em\|
46 .    ds PI \(*p
47 .    ds L" ``
48 .    ds R" ''
49 'br\}
50 .\"
51 .\" If the F register is turned on, we'll generate index entries on stderr for
52 .\" titles (.TH), headers (.SH), subsections (.Sh), items (.Ip), and index
53 .\" entries marked with X<> in POD.  Of course, you'll have to process the
54 .\" output yourself in some meaningful fashion.
55 .if \nF \{\
56 .    de IX
57 .    tm Index:\\$1\t\\n%\t"\\$2"
58 ..
59 .    nr % 0
60 .    rr F
61 .\}
62 .\"
63 .\" For nroff, turn off justification.  Always turn off hyphenation; it makes
64 .\" way too many mistakes in technical documents.
65 .hy 0
66 .if n .na
67 .\"
68 .\" Accent mark definitions (@(#)ms.acc 1.5 88/02/08 SMI; from UCB 4.2).
69 .\" Fear.  Run.  Save yourself.  No user-serviceable parts.
70 .    \" fudge factors for nroff and troff
71 .if n \{\
72 .    ds #H 0
73 .    ds #V .8m
74 .    ds #F .3m
75 .    ds #[ \f1
76 .    ds #] \fP
77 .\}
78 .if t \{\
79 .    ds #H ((1u-(\\\\n(.fu%2u))*.13m)
80 .    ds #V .6m
81 .    ds #F 0
82 .    ds #[ \&
83 .    ds #] \&
84 .\}
85 .    \" simple accents for nroff and troff
86 .if n \{\
87 .    ds ' \&
88 .    ds ` \&
89 .    ds ^ \&
90 .    ds , \&
91 .    ds ~ ~
92 .    ds /
93 .\}
94 .if t \{\
95 .    ds ' \\k:\h'-(\\n(.wu*8/10-\*(#H)'\'\h"|\\n:u"
96 .    ds ` \\k:\h'-(\\n(.wu*8/10-\*(#H)'\`\h'|\\n:u'
97 .    ds ^ \\k:\h'-(\\n(.wu*10/11-\*(#H)'^\h'|\\n:u'
98 .    ds , \\k:\h'-(\\n(.wu*8/10)',\h'|\\n:u'
99 .    ds ~ \\k:\h'-(\\n(.wu-\*(#H-.1m)'~\h'|\\n:u'
100 .    ds / \\k:\h'-(\\n(.wu*8/10-\*(#H)'\z\(sl\h'|\\n:u'
101 .\}
102 .    \" troff and (daisy-wheel) nroff accents
103 .ds : \\k:\h'-(\\n(.wu*8/10-\*(#H+.1m+\*(#F)'\v'-\*(#V'\z.\h'.2m+\*(#F'.\h'|\\n:u'\v'\*(#V'
104 .ds 8 \h'\*(#H'\(*b\h'-\*(#H'
105 .ds o \\k:\h'-(\\n(.wu+\w'\(de'u-\*(#H)/2u'\v'-.3n'\*(#[\z\(de\v'.3n'\h'|\\n:u'\*(#]
106 .ds d- \h'\*(#H'\(pd\h'-\w'~'u'\v'-.25m'\f2\(hy\fP\v'.25m'\h'-\*(#H'
107 .ds D- D\\k:\h'-\w'D'u'\v'-.11m'\z\(hy\v'.11m'\h'|\\n:u'
108 .ds th \*(#[\v'.3m'\s+1I\s-1\v'-.3m'\h'-(\w'I'u*2/3)'\s-1o\s+1\*(#]
109 .ds Th \*(#[\s+2I\s-2\h'-\w'I'u*3/5'\v'-.3m'o\v'.3m'\*(#]
110 .ds ae a\h'-(\w'a'u*4/10)'e
111 .ds Ae A\h'-(\w'A'u*4/10)'E
112 .    \" corrections for vroff
113 .if v .ds ~ \\k:\h'-(\\n(.wu*9/10-\*(#H)'\s-2\u~\d\s+2\h'|\\n:u'
114 .if v .ds ^ \\k:\h'-(\\n(.wu*10/11-\*(#H)'\v'-.4m'^\v'.4m'\h'|\\n:u'
115 .    \" for low resolution devices (crt and lpr)
116 .if \n(.H>23 .if \n(.V>19 \
117 \{\
118 .    ds : e
119 .    ds 8 ss
120 .    ds o a
121 .    ds d- d\h'-1'\(ga
122 .    ds D- D\h'-1'\(hy
123 .    ds th \o'bp'
124 .    ds Th \o'LP'
125 .    ds ae ae
126 .    ds Ae AE
127 .\}
128 .rm #[ #] #H #V #F C
129 .\" ========================================================================
130 .\"
131 .IX Title "Class::C3 3"
132 .TH Class::C3 3 "2009-03-25" "perl v5.8.7" "User Contributed Perl Documentation"
133 .SH "NAME"
134 Class::C3 \- A pragma to use the C3 method resolution order algortihm
135 .SH "SYNOPSIS"
136 .IX Header "SYNOPSIS"
137 .Vb 3
138 \&    package A;
139 \&    use Class::C3;
140 \&    sub hello { 'A::hello' }
141 .Ve
142 .PP
143 .Vb 3
144 \&    package B;
145 \&    use base 'A';
146 \&    use Class::C3;
147 .Ve
148 .PP
149 .Vb 3
150 \&    package C;
151 \&    use base 'A';
152 \&    use Class::C3;
153 .Ve
154 .PP
155 .Vb 1
156 \&    sub hello { 'C::hello' }
157 .Ve
158 .PP
159 .Vb 3
160 \&    package D;
161 \&    use base ('B', 'C');
162 \&    use Class::C3;
163 .Ve
164 .PP
165 .Vb 6
166 \&    # Classic Diamond MI pattern
167 \&    #    <A>
168 \&    #   /   \e
169 \&    # <B>   <C>
170 \&    #   \e   /
171 \&    #    <D>
172 .Ve
173 .PP
174 .Vb 1
175 \&    package main;
176 .Ve
177 .PP
178 .Vb 3
179 \&    # initializez the C3 module
180 \&    # (formerly called in INIT)
181 \&    Class::C3::initialize();
182 .Ve
183 .PP
184 .Vb 1
185 \&    print join ', ' => Class::C3::calculateMRO('Diamond_D') # prints D, B, C, A
186 .Ve
187 .PP
188 .Vb 1
189 \&    print D\->hello() # prints 'C::hello' instead of the standard p5 'A::hello'
190 .Ve
191 .PP
192 .Vb 2
193 \&    D\->can('hello')\->();          # can() also works correctly
194 \&    UNIVERSAL::can('D', 'hello'); # as does UNIVERSAL::can()
195 .Ve
196 .SH "DESCRIPTION"
197 .IX Header "DESCRIPTION"
198 This is pragma to change Perl 5's standard method resolution order from depth-first left-to-right
199 (a.k.a \- pre\-order) to the more sophisticated C3 method resolution order.
200 .Sh "What is C3?"
201 .IX Subsection "What is C3?"
202 C3 is the name of an algorithm which aims to provide a sane method resolution order under multiple
203 inheritence. It was first introduced in the langauge Dylan (see links in the \*(L"\s-1SEE\s0 \s-1ALSO\s0\*(R" section),
204 and then later adopted as the prefered \s-1MRO\s0 (Method Resolution Order) for the new-style classes in
205 Python 2.3. Most recently it has been adopted as the 'canonical' \s-1MRO\s0 for Perl 6 classes, and the
206 default \s-1MRO\s0 for Parrot objects as well.
207 .Sh "How does C3 work."
208 .IX Subsection "How does C3 work."
209 C3 works by always preserving local precendence ordering. This essentially means that no class will
210 appear before any of it's subclasses. Take the classic diamond inheritence pattern for instance:
211 .PP
212 .Vb 5
213 \&     <A>
214 \&    /   \e
215 \&  <B>   <C>
216 \&    \e   /
217 \&     <D>
218 .Ve
219 .PP
220 The standard Perl 5 \s-1MRO\s0 would be (D, B, A, C). The result being that \fBA\fR appears before \fBC\fR, even
221 though \fBC\fR is the subclass of \fBA\fR. The C3 \s-1MRO\s0 algorithm however, produces the following \s-1MRO\s0
222 (D, B, C, A), which does not have this same issue.
223 .PP
224 This example is fairly trival, for more complex examples and a deeper explaination, see the links in
225 the \*(L"\s-1SEE\s0 \s-1ALSO\s0\*(R" section.
226 .Sh "How does this module work?"
227 .IX Subsection "How does this module work?"
228 This module uses a technique similar to Perl 5's method caching. When \f(CW\*(C`Class::C3::initialize\*(C'\fR is
229 called, this module calculates the \s-1MRO\s0 of all the classes which called \f(CW\*(C`use Class::C3\*(C'\fR. It then
230 gathers information from the symbol tables of each of those classes, and builds a set of method
231 aliases for the correct dispatch ordering. Once all these C3\-based method tables are created, it
232 then adds the method aliases into the local classes symbol table.
233 .PP
234 The end result is actually classes with pre-cached method dispatch. However, this caching does not
235 do well if you start changing your \f(CW@ISA\fR or messing with class symbol tables, so you should consider
236 your classes to be effectively closed. See the \s-1CAVEATS\s0 section for more details.
237 .SH "OPTIONAL LOWERCASE PRAGMA"
238 .IX Header "OPTIONAL LOWERCASE PRAGMA"
239 This release also includes an optional module \fBc3\fR in the \fIopt/\fR folder. I did not include this in
240 the regular install since lowercase module names are considered \fI\*(L"bad\*(R"\fR by some people. However I
241 think that code looks much nicer like this:
242 .PP
243 .Vb 2
244 \&  package MyClass;
245 \&  use c3;
246 .Ve
247 .PP
248 The the more clunky:
249 .PP
250 .Vb 2
251 \&  package MyClass;
252 \&  use Class::C3;
253 .Ve
254 .PP
255 But hey, it's your choice, thats why it is optional.
256 .SH "FUNCTIONS"
257 .IX Header "FUNCTIONS"
258 .IP "\fBcalculateMRO ($class)\fR" 4
259 .IX Item "calculateMRO ($class)"
260 Given a \f(CW$class\fR this will return an array of class names in the proper C3 method resolution order.
261 .IP "\fBinitialize\fR" 4
262 .IX Item "initialize"
263 This \fBmust be called\fR to initalize the C3 method dispatch tables, this module \fBwill not work\fR if
264 you do not do this. It is advised to do this as soon as possible \fBafter\fR loading any classes which
265 use C3. Here is a quick code example:
266 .Sp
267 .Vb 3
268 \&  package Foo;
269 \&  use Class::C3;
270 \&  # ... Foo methods here
271 .Ve
272 .Sp
273 .Vb 4
274 \&  package Bar;
275 \&  use Class::C3;
276 \&  use base 'Foo';
277 \&  # ... Bar methods here
278 .Ve
279 .Sp
280 .Vb 1
281 \&  package main;
282 .Ve
283 .Sp
284 .Vb 1
285 \&  Class::C3::initialize(); # now it is safe to use Foo and Bar
286 .Ve
287 .Sp
288 This function used to be called automatically for you in the \s-1INIT\s0 phase of the perl compiler, but
289 that lead to warnings if this module was required at runtime. After discussion with my user base
290 (the DBIx::Class folks), we decided that calling this in \s-1INIT\s0 was more of an annoyance than a
291 convience. I apologize to anyone this causes problems for (although i would very suprised if I had
292 any other users other than the DBIx::Class folks). The simplest solution of course is to define
293 your own \s-1INIT\s0 method which calls this function.
294 .Sp
295 \&\s-1NOTE:\s0
296 .Sp
297 If \f(CW\*(C`initialize\*(C'\fR detects that \f(CW\*(C`initialize\*(C'\fR has already been executed, it will \*(L"uninitialize\*(R" and
298 clear the \s-1MRO\s0 cache first.
299 .IP "\fBuninitialize\fR" 4
300 .IX Item "uninitialize"
301 Calling this function results in the removal of all cached methods, and the restoration of the old Perl 5
302 style dispatch order (depth\-first, left\-to\-right).
303 .IP "\fBreinitialize\fR" 4
304 .IX Item "reinitialize"
305 This is an alias for \*(L"initialize\*(R" above.
306 .SH "METHOD REDISPATCHING"
307 .IX Header "METHOD REDISPATCHING"
308 It is always useful to be able to re-dispatch your method call to the \*(L"next most applicable method\*(R". This
309 module provides a pseudo package along the lines of \f(CW\*(C`SUPER::\*(C'\fR or \f(CW\*(C`NEXT::\*(C'\fR which will re-dispatch the
310 method along the C3 linearization. This is best show with an examples.
311 .PP
312 .Vb 6
313 \&  # a classic diamond MI pattern ...
314 \&     <A>
315 \&    /   \e
316 \&  <B>   <C>
317 \&    \e   /
318 \&     <D>
319 .Ve
320 .PP
321 .Vb 3
322 \&  package A;
323 \&  use c3;
324 \&  sub foo { 'A::foo' }
325 .Ve
326 .PP
327 .Vb 4
328 \&  package B;
329 \&  use base 'A';
330 \&  use c3;
331 \&  sub foo { 'B::foo => ' . (shift)\->next::method() }
332 .Ve
333 .PP
334 .Vb 4
335 \&  package B;
336 \&  use base 'A';
337 \&  use c3;
338 \&  sub foo { 'C::foo => ' . (shift)\->next::method() }
339 .Ve
340 .PP
341 .Vb 4
342 \&  package D;
343 \&  use base ('B', 'C');
344 \&  use c3;
345 \&  sub foo { 'D::foo => ' . (shift)\->next::method() }
346 .Ve
347 .PP
348 .Vb 1
349 \&  print D\->foo; # prints out "D::foo => B::foo => C::foo => A::foo"
350 .Ve
351 .PP
352 A few things to note. First, we do not require you to add on the method name to the \f(CW\*(C`next::method\*(C'\fR
353 call (this is unlike \f(CW\*(C`NEXT::\*(C'\fR and \f(CW\*(C`SUPER::\*(C'\fR which do require that). This helps to enforce the rule
354 that you cannot dispatch to a method of a different name (this is how \f(CW\*(C`NEXT::\*(C'\fR behaves as well).
355 .PP
356 The next thing to keep in mind is that you will need to pass all arguments to \f(CW\*(C`next::method\*(C'\fR it can
357 not automatically use the current \f(CW@_\fR.
358 .PP
359 If \f(CW\*(C`next::method\*(C'\fR cannot find a next method to re-dispatch the call to, it will throw an exception.
360 You can use \f(CW\*(C`next::can\*(C'\fR to see if \f(CW\*(C`next::method\*(C'\fR will succeed before you call it like so:
361 .PP
362 .Vb 1
363 \&  $self\->next::method(@_) if $self\->next::can;
364 .Ve
365 .PP
366 Additionally, you can use \f(CW\*(C`maybe::next::method\*(C'\fR as a shortcut to only call the next method if it exists.
367 The previous example could be simply written as:
368 .PP
369 .Vb 1
370 \&  $self\->maybe::next::method(@_);
371 .Ve
372 .PP
373 There are some caveats about using \f(CW\*(C`next::method\*(C'\fR, see below for those.
374 .SH "CAVEATS"
375 .IX Header "CAVEATS"
376 This module used to be labeled as \fIexperimental\fR, however it has now been pretty heavily tested by
377 the good folks over at DBIx::Class and I am confident this module is perfectly usable for
378 whatever your needs might be.
379 .PP
380 But there are still caveats, so here goes ...
381 .ie n .IP "Use of ""SUPER::""." 4
382 .el .IP "Use of \f(CWSUPER::\fR." 4
383 .IX Item "Use of SUPER::."
384 The idea of \f(CW\*(C`SUPER::\*(C'\fR under multiple inheritence is ambigious, and generally not recomended anyway.
385 However, it's use in conjuntion with this module is very much not recommended, and in fact very
386 discouraged. The recommended approach is to instead use the supplied \f(CW\*(C`next::method\*(C'\fR feature, see
387 more details on it's usage above.
388 .ie n .IP "Changing @ISA." 4
389 .el .IP "Changing \f(CW@ISA\fR." 4
390 .IX Item "Changing @ISA."
391 It is the author's opinion that changing \f(CW@ISA\fR at runtime is pure insanity anyway. However, people
392 do it, so I must caveat. Any changes to the \f(CW@ISA\fR will not be reflected in the \s-1MRO\s0 calculated by this
393 module, and therefor probably won't even show up. If you do this, you will need to call \f(CW\*(C`reinitialize\*(C'\fR
394 in order to recalulate \fBall\fR method dispatch tables. See the \f(CW\*(C`reinitialize\*(C'\fR documentation and an example
395 in \fIt/20_reinitialize.t\fR for more information.
396 .IP "Adding/deleting methods from class symbol tables." 4
397 .IX Item "Adding/deleting methods from class symbol tables."
398 This module calculates the \s-1MRO\s0 for each requested class by interogatting the symbol tables of said classes.
399 So any symbol table manipulation which takes place after our \s-1INIT\s0 phase is run will not be reflected in
400 the calculated \s-1MRO\s0. Just as with changing the \f(CW@ISA\fR, you will need to call \f(CW\*(C`reinitialize\*(C'\fR for any
401 changes you make to take effect.
402 .ie n .IP "Calling ""next::method"" from methods defined outside the class" 4
403 .el .IP "Calling \f(CWnext::method\fR from methods defined outside the class" 4
404 .IX Item "Calling next::method from methods defined outside the class"
405 There is an edge case when using \f(CW\*(C`next::method\*(C'\fR from within a subroutine which was created in a different
406 module than the one it is called from. It sounds complicated, but it really isn't. Here is an example which
407 will not work correctly:
408 .Sp
409 .Vb 1
410 \&  *Foo::foo = sub { (shift)\->next::method(@_) };
411 .Ve
412 .Sp
413 The problem exists because the anonymous subroutine being assigned to the glob \f(CW*Foo::foo\fR will show up
414 in the call stack as being called \f(CW\*(C`_\|_ANON_\|_\*(C'\fR and not \f(CW\*(C`foo\*(C'\fR as you might expect. Since \f(CW\*(C`next::method\*(C'\fR
415 uses \f(CW\*(C`caller\*(C'\fR to find the name of the method it was called in, it will fail in this case.
416 .Sp
417 But fear not, there is a simple solution. The module \f(CW\*(C`Sub::Name\*(C'\fR will reach into the perl internals and
418 assign a name to an anonymous subroutine for you. Simply do this:
419 .Sp
420 .Vb 2
421 \&  use Sub::Name 'subname';
422 \&  *Foo::foo = subname 'Foo::foo' => sub { (shift)\->next::method(@_) };
423 .Ve
424 .Sp
425 and things will Just Work. Of course this is not always possible to do, but to be honest, I just can't
426 manage to find a workaround for it, so until someone gives me a working patch this will be a known
427 limitation of this module.
428 .SH "COMPATIBILITY"
429 .IX Header "COMPATIBILITY"
430 If your software requires Perl 5.9.5 or higher, you do not need Class::C3, you can simply \f(CW\*(C`use mro 'c3'\*(C'\fR, and not worry about \f(CW\*(C`initialize()\*(C'\fR, avoid some of the above caveats, and get the best possible performance.  See mro for more details.
431 .PP
432 If your software is meant to work on earlier Perls, use Class::C3 as documented here.  Class::C3 will detect Perl 5.9.5+ and take advantage of the core support when available.
433 .SH "Class::C3::XS"
434 .IX Header "Class::C3::XS"
435 This module will load Class::C3::XS if it's installed and you are running on a Perl version older than 5.9.5.  Installing this is recommended when possible, as it results in significant performance improvements (but unlike the 5.9.5+ core support, it still has all of the same caveats as Class::C3).
436 .SH "CODE COVERAGE"
437 .IX Header "CODE COVERAGE"
438 Devel::Cover was reporting 94.4% overall test coverage earlier in this module's life.  Currently, the test suite does things that break under coverage testing, but it is fair to assume the coverage is still close to that value.
439 .SH "SEE ALSO"
440 .IX Header "SEE ALSO"
441 .Sh "The original Dylan paper"
442 .IX Subsection "The original Dylan paper"
443 .IP "<http://www.webcom.com/haahr/dylan/linearization\-oopsla96.html>" 4
444 .IX Item "<http://www.webcom.com/haahr/dylan/linearization-oopsla96.html>"
445 .Sh "The prototype Perl 6 Object Model uses C3"
446 .IX Subsection "The prototype Perl 6 Object Model uses C3"
447 .PD 0
448 .IP "<http://svn.openfoundry.org/pugs/perl5/Perl6\-MetaModel/>" 4
449 .IX Item "<http://svn.openfoundry.org/pugs/perl5/Perl6-MetaModel/>"
450 .PD
451 .Sh "Parrot now uses C3"
452 .IX Subsection "Parrot now uses C3"
453 .IP "<http://aspn.activestate.com/ASPN/Mail/Message/perl6\-internals/2746631>" 4
454 .IX Item "<http://aspn.activestate.com/ASPN/Mail/Message/perl6-internals/2746631>"
455 .PD 0
456 .IP "<http://use.perl.org/~autrijus/journal/25768>" 4
457 .IX Item "<http://use.perl.org/~autrijus/journal/25768>"
458 .PD
459 .Sh "Python 2.3 \s-1MRO\s0 related links"
460 .IX Subsection "Python 2.3 MRO related links"
461 .IP "<http://www.python.org/2.3/mro.html>" 4
462 .IX Item "<http://www.python.org/2.3/mro.html>"
463 .PD 0
464 .IP "<http://www.python.org/2.2.2/descrintro.html#mro>" 4
465 .IX Item "<http://www.python.org/2.2.2/descrintro.html#mro>"
466 .PD
467 .Sh "C3 for TinyCLOS"
468 .IX Subsection "C3 for TinyCLOS"
469 .IP "<http://www.call\-with\-current\-continuation.org/eggs/c3.html>" 4
470 .IX Item "<http://www.call-with-current-continuation.org/eggs/c3.html>"
471 .SH "ACKNOWLEGEMENTS"
472 .IX Header "ACKNOWLEGEMENTS"
473 .PD 0
474 .IP "Thanks to Matt S. Trout for using this module in his module DBIx::Class and finding many bugs and providing fixes." 4
475 .IX Item "Thanks to Matt S. Trout for using this module in his module DBIx::Class and finding many bugs and providing fixes."
476 .ie n .IP "Thanks to Justin Guenther for making ""next::method""\fR more robust by handling calls inside \f(CW""eval"" and anon\-subs." 4
477 .el .IP "Thanks to Justin Guenther for making \f(CWnext::method\fR more robust by handling calls inside \f(CWeval\fR and anon\-subs." 4
478 .IX Item "Thanks to Justin Guenther for making next::method more robust by handling calls inside eval and anon-subs."
479 .ie n .IP "Thanks to Robert Norris for adding support for ""next::can""\fR and \f(CW""maybe::next::method""." 4
480 .el .IP "Thanks to Robert Norris for adding support for \f(CWnext::can\fR and \f(CWmaybe::next::method\fR." 4
481 .IX Item "Thanks to Robert Norris for adding support for next::can and maybe::next::method."
482 .PD
483 .SH "AUTHOR"
484 .IX Header "AUTHOR"
485 Stevan Little, <stevan@iinteractive.com>
486 .PP
487 Brandon L. Black, <blblack@gmail.com>
488 .SH "COPYRIGHT AND LICENSE"
489 .IX Header "COPYRIGHT AND LICENSE"
490 Copyright 2005, 2006 by Infinity Interactive, Inc.
491 .PP
492 <http://www.iinteractive.com>
493 .PP
494 This library is free software; you can redistribute it and/or modify
495 it under the same terms as Perl itself.