package MyPackage; sub hello { print "hello\n"; } package AnotherPackage; *hello = \&MyPackage::hello; package main; AnotherPackage::hello();