If I define a function just in the freespace of a file and have included in 
that file two packages which are bracketed in like:

sub function {}

package 1;
{}

package 2;
{}



How do I access the function (make a function call) from within one of the 
packages?

is it main::function or is it something else.

Also, is it ok to call functions which take no parameters as just the 
function name. like $var = function; as opposed to $var = function();


Thanks,
-Nick
_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com

Reply via email to