in reply to Re^4: multiple "sub" packages in 1 file: possible? how?
in thread multiple "sub" packages in 1 file: possible? how?

That's the intention, importing symbols from my_temp_convert into main, and I believe that kyle is aware of it. It's the same with my_temp_convert->import call. Both calls are using my_temp_convert as the first argument to the subroutine/method.

Open source softwares? Share and enjoy. Make profit from them if you can. Yet, share and enjoy!

Replies are listed 'Best First'.
Re^6: multiple "sub" packages in 1 file: possible? how?
by chromatic (Archbishop) on Aug 05, 2007 at 20:56 UTC

    Calling methods as functions has the nasty tendency to break your code (and especially my code). In this case when the correct code is both shorter and clearer!