in reply to Re^4: Clear the contents of the text file
in thread Clear the contents of the text file

When i use your code, i am getting the below error: Can't locate Path/Tiny.pm in @INC (@INC contains: E:/apps/Perl64/site/lib E:/apps/Perl64/lib .) at outage_nodes.pl line 8. BEGIN failed--compilation aborted at outage_nodes.pl line 8.

Ok, so do you know what that means?

It means you don't have that module installed

To install it run cpan Path::Tiny or ppm Path::Tiny

  • Comment on Re^5: Clear the contents of the text file