Fastest way of calling a subroutine
问题 As far as I know, in Perl, we can call a subroutine from a Module by using these techniques: Export subroutine foo , import the module which has this subroutine. Finally call it in your perl script. Create an Object of that Module in your perl script finally call foo using that Object . Directly call foo using its path, like this myDir::Module::foo(); . If I am always confused which is better way of calling a subroutine foo . If I have a dynamic script, which I run from the browser and not