Skip to content
This repository has been archived by the owner on Apr 24, 2020. It is now read-only.

if(defined(@center)) runtime error using Strawberry Perl 5.22. #5

Open
ghost opened this issue Aug 25, 2015 · 2 comments
Open

if(defined(@center)) runtime error using Strawberry Perl 5.22. #5

ghost opened this issue Aug 25, 2015 · 2 comments

Comments

@ghost
Copy link

ghost commented Aug 25, 2015

This is the error it throws: Can't use 'defined(@array)' (Maybe you should just omit the defined()?) at obj2opengl.pl line 154. I'm not familiar enough with Perl to know what it's happening, but changing if(defined(@center)) to if(@center) like it suggests seem to fix the problem.

@AhmedGamal-Inmobly
Copy link

AhmedGamal-Inmobly commented Jan 4, 2017

Replace defined(@center) with defined($center)
worked for me with perl v5.22.1

@knvirani
Copy link

"if(defined(@center)" error is resolved. don't use perl 5.22.

Use perl 5.16 this will work 100%.

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

No branches or pull requests

2 participants