use self::init ARGS;
Method name is constructed as a reference to string, containing method name, prefixed with -. Rest in list is threated as arguments to that method, until next method name or end of whole statement. So, if your arguments not written by hand or in some way could receive value of SCALARREF, containing string, beginning from -, invocation will be wrong (see Synopsis 2)
When writing method names not quoted (hash key bareword), the whole statement looks like an ASCII tree, where methods are descendants of self::init ;)
Single method invocation is constructed as ARRAYREF, containing first element as method name and rest as arguments. It is reliable to any arguments, but dont mix both synopsises in a single call
Mons Anderson, <email@example.com>
Copyright 2009 Mons Anderson.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
|perl v5.20.3||SELF::INIT (3)||2009-05-19|