File: Foo.pm

package info (click to toggle)
libsub-uplevel-perl 0.2800-3
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 260 kB
  • sloc: perl: 671; makefile: 2
file content (8 lines) | stat: -rw-r--r-- 148 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
package Foo;

# Hook::LexWrap does this, Sub::Uplevel appears to interfere.
sub import { *{caller()."::fooble"} = \&fooble }

sub fooble { 42 }

1;