PPI::Statement::When3pm
A when statement
Usage
foreach ( qw/ foo bar baz / ) {when ( m/b/ ) {boing($_);}when ( m/f/ ) {boom($_);}default {tchak($_);}}
Inheritance
PPI::Statement::Whenisa PPI::Statementisa PPI::Nodeisa PPI::Element
Overview
"PPI::Statement::When" objects are used to describe when and default statements, as described in perlsyn.
Methods
"PPI::Structure::When" has no methods beyond those provided by the standard PPI::Structure, PPI::Node and PPI::Element methods.
To do
- Write unit tests for this package
Support
See the support section in the main module.
Releases
9 releases since Debian 6.0 (Squeeze); the text changed 8 times.