Perl eval
From Teknologisk videncenter
Revision as of 09:51, 22 March 2009 by Heth (talk | contribs) (New page: Perl eval can be used as a '''try''' and '''catch''' error recovery procedure <source lang="perl"> eval { # try }; if($@) { # catch } </source> Category:Perl)
Perl eval can be used as a try and catch error recovery procedure
eval
{
# try
};
if($@)
{
# catch
}