develooper Front page | perl.beginners | Postings from April 2010

while and eval

Thread Next
From:
Arun P Menon
Date:
April 21, 2010 09:35
Subject:
while and eval
Message ID:
j2n6e6856001004210935xa5d0ec50za12a0316f7675c1f@mail.gmail.com
Hello All,

Could you tell me what does the following do?
1 while (<>);

Also, how does 'eval' work and when is it useful? What is the difference if
we put a block inside eval like: eval ( <block> };

-- 
Regards,
Arun.P.Menon

Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About