in reply to Re: Perl vs. Shell Script
in thread Perl vs. Shell Script

I think he's referring to the fact that the shell's code segment will be shared, so the OS won't have to load any new code to start a shell process. Of course, if you use Perl enough, its code should already be in memory as well...

/s

Replies are listed 'Best First'.
Re: Re: Re: Perl vs. Shell Script
by runrig (Abbot) on Jul 01, 2002 at 20:54 UTC
    Yeah, that's what I meant (shared code segments that is...hey, its in memory, its shared, if that's an incorrect usage of the term 'shared memory', then I apologize) :-)

    When I spout off half remembered ideas, I do try to label them as such, and even though I don't always know what I'm talking about, someone is able to figure it out and (re)fill in the (wrongly filled in) blanks...

    And to Abigail-II, by 'exec' I meant exec w/o the fork (like in perl's exec as opposed to the system function, or a shell exec command).