Re: How does the function loading works in Perl

2011-03-02 Thread Peter Scott
On Wed, 02 Mar 2011 17:02:30 -0500, Shawn H Corey wrote: > On 11-03-02 04:15 PM, Parag Kalra wrote: >> A Perl script may have many functions. When we execute the script via >> Perl Interpreter, does all the functions are loaded into memory? >> >> > All the functions are compiled and loaded. > >>

Re: How does the function loading works in Perl

2011-03-02 Thread Shawn H Corey
On 11-03-02 04:15 PM, Parag Kalra wrote: A Perl script may have many functions. When we execute the script via Perl Interpreter, does all the functions are loaded into memory? All the functions are compiled and loaded. Sometimes we just like to keep the coded functions in the script with the

Re: How does the function loading works in Perl

2011-03-02 Thread terry peng
2011/3/3 Parag Kalra : > Hi, > > I have this basic question from a long time now, so thought of asking. > > A Perl script may have many functions. When we execute the script via Perl > Interpreter, does all the functions are loaded into memory? > Though there is a stuff called "AUTOLOAD", but I th

How does the function loading works in Perl

2011-03-02 Thread Parag Kalra
Hi, I have this basic question from a long time now, so thought of asking. A Perl script may have many functions. When we execute the script via Perl Interpreter, does all the functions are loaded into memory? Sometimes we just like to keep the coded functions in the script with the idea that we