Switch::Perlish::SmatchThe 'smart' behind the matching in S::P | |
Download |
Switch::Perlish::Smatch Ranking & Summary
Advertisement
- License:
- Perl Artistic License
- Price:
- FREE
- Publisher Name:
- Dan Brook
- Publisher web site:
- http://search.cpan.org/~broq/
Switch::Perlish::Smatch Tags
Switch::Perlish::Smatch Description
The 'smart' behind the matching in S::P Switch::Perlish::Smatch is the 'smart' behind the matching in S::P.SYNOPSIS use Switch::Perlish::Smatch 'smatch'; print 'yep' if smatch $foo => @bar;Given two values compare them in an intelligent fashion (i.e smart match) regardless of type. This is done by discerning the types of the values and delegating to the associated subroutine, or croaking if one isn't available. Requirements: · Perl
Switch::Perlish::Smatch Related Software