Jul 22, 2016, 9:03 AM
Post #1 of 1
I am getting a message, "Undefined subroutine &compression_dev::cwd called at ..." for this line . I have a at the top of the file. What it makes even stranger is that I have that same line in other places in the same file (different subroutine) but it is working correctly.
Inconsistent Undefined subroutine error for cwd
Well, I don't know why it wasn't working, but I found a work-around:
my $curwd = Cwd::abs_path();
(This post was edited by tharpa on Jul 22, 2016, 10:23 AM)