Hi
If i add the try block it says syntex error at initlialization of for loop .
Non -working code ...
#!/usr/bin/perl -w
use strict;
try
{
print " 11111111111 ";
}
catch
{
print " 2222222222 ";
}
for (my $i = 0 ; $i < 5; $i++)
{
print " wwww ";
}
If i remove the try block it works ... can you please tell me you is it so and how does it work properly ?