ConSurf
ConSurf copied to clipboard
Deprecated code for Perl 5
The code base seems to have been written for a version of Perl where defined(@array) can be used, but it has since been deprecated. I am running perl 5, version 26, subversion 2 and though I successfully installed consurf into my /usr/local/bin (on WSL Ubuntu), I got a runtime error highlighting this deprecation.
The resolution seems to be simply deleting all occurrences of "defined" in the primary "consurf" perl script. Hope this helps new users.
try:
sed -i s#defined##g /usr/local/bin/consurf