advanced code snippet search
Enaku on 01/06/11
01/06/11 05:35pm
use strict;use warnings; use Switch; my $test = test("pants");my $outher = other("fuck"); print $test;print $outher; sub test { switch($_) { case("pants") { return "FUCK\n"; } }} sub other { return $_[0];}
Report this snippet Tweet
why deprecated Switch.pm and not given/when?
Comment:
You need to login to post a comment.
why deprecated Switch.pm and not given/when?