logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

PPI::Statement::Given - A given-when statement

Author

       Adam Kennedy <adamk@cpan.org>

Description

       "PPI::Statement::Given" objects are used to describe switch statements, as described in perlsyn.

Inheritance

         PPI::Statement::Given
         isa PPI::Statement
             isa PPI::Node
                 isa PPI::Element

Methods

       "PPI::Statement::Given" has no methods beyond those provided by the standard PPI::Structure, PPI::Node
       and PPI::Element methods.

Name

       PPI::Statement::Given - A given-when statement

Support

       See the support section in the main module.

Synopsis

         given ( foo ) {
             say $_;
         }

To Do

       - Write unit tests for this package

See Also