The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

Search results for "dist:Switch-Reftype Switch"

Switch::Reftype - Execute code based on which type of reference is given. River stage zero No dependents

Sometimes, you want your subroutine or method to perform a specific action based on the type of argument given. For example, your subroutine might accept either a simple scalar, an array reference, or a hash reference. Depending on which type of argu...

PRAMAKERS/Switch-Reftype-0.001 - 02 Nov 2015 19:36:04 UTC
1 result (0.039 seconds)