Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deprecated code for Perl 5 #21

Open
sriramsrikant opened this issue Aug 9, 2019 · 1 comment
Open

Deprecated code for Perl 5 #21

sriramsrikant opened this issue Aug 9, 2019 · 1 comment

Comments

@sriramsrikant
Copy link

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.

@wan230114
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants