Yes you can. You don't even need to go as far as you're thinking about.
BEGIN { sub funky_reverse : lvalue {} *CORE::GLOBAL::reverse = \&funky_reverse; }
It doesn't help you, though. You really want to return an alias (or a list thereof), not any old lvalue(s). And that's not something you can do in vanilla Perl. You need something like Data::Alias.
Makeshifts last the longest.
In reply to Re^4: howto strip the first char of a string?
by Aristotle
in thread howto strip the first char of a string?
by valentin
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |