Yes that will print the filename, however now I do not get the line number? I need both. I also tried
foreach $filename (@files) { $rr = Net::DNS::ZoneFile::Fast::parse( file=>$filename, on_error => sub {print "Error in $filename on line: $ln\n";} ); }
but that didn't work
In reply to Re^2: identifying dns zone filename
by papai
in thread identifying dns zone filename
by papai
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |