in reply to perl -M using a module in current dir
Is Bar.pm in ./Foo? If not, just do perl -MBar -e 'print barfoo("blah");', even if it says package Foo::Bar inside.