ConSurf icon indicating copy to clipboard operation
ConSurf copied to clipboard

Deprecated code for Perl 5

Open sriramsrikant opened this issue 6 years ago • 1 comments

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.

sriramsrikant avatar Aug 09 '19 18:08 sriramsrikant

try: sed -i s#defined##g /usr/local/bin/consurf

wan230114 avatar Jul 24 '21 14:07 wan230114