On Fri, 2007-09-14 at 08:45 +0530, Somu wrote:

> Hi list,
> Recently i've been learning a bit of C programming. I used data
> structures and then linked lists .. Does perl have this concept?

Hashes? I'm not sure what a linked list is. I've *briefly* read some
stuff on C programming, but never really spent enough time on it ...

> Linked list helps in good memory management. Does perl automates
> memory management for us?

Yes.

>  Also, all the C variables are bound to be
> declared at the top, so that the program can allot memory for them.
> But this is not the case with perl where variables come and go with
> scope. What if not enough memory is available?

Perl does all memory management for you. If your process runs out of
memory, it's up to the OS to do something, which could be to kill your
process, or maybe to kill another process.


--
Daniel Kasak
IT Developer
NUS Consulting Group
Level 5, 77 Pacific Highway
North Sydney, NSW, Australia 2060
T: (+61) 2 9922-7676 / F: (+61) 2 9922 7989
email: [EMAIL PROTECTED]
website: http://www.nusconsulting.com.au


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/


Reply via email to