perl question
Scott Hannahs via Fink-devel <[email protected]> Thu, 13 May 2021 14:01:21 -0400
| Newsgroups | gmane.os.apple.fink.devel |
|---|---|
| Message-ID | <[email protected]> |
--===============4987497629014779912==
Content-Type: multipart/alternative;
boundary="Apple-Mail=_28F90A2D-2BB7-4C28-939F-F64378868FBA"
--Apple-Mail=_28F90A2D-2BB7-4C28-939F-F64378868FBA
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
charset=utf-8
Hopefully quick question to those more perl savvy!
I am trying to get emacs to build under Mac OS 11.X Big Sur. And it is =
being surly=E2=80=A6..
When building emacsen now with Perl 5.30.2 the error is thrown at this =
point:
perl -wc generate-install-list
Can't use 'defined(@array)' (Maybe you should just omit the defined()?) =
at generate-install-list line 24.
That line is:
if(! defined(@$installed_add_on_pkgs)) {
I have tried removing =E2=80=9Cdefined", but it doesn=E2=80=99t like =
that operating on an array reference. I tried substituting the =
=E2=80=9Cexists=E2=80=9D function but that isn=E2=80=99t well received =
either. How does one detect that the installed_add_on_pkgs is not =
defined as an array?
-Scott=
--Apple-Mail=_28F90A2D-2BB7-4C28-939F-F64378868FBA
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html;
charset=utf-8
<html><head><meta http-equiv=3D"Content-Type" content=3D"text/html; =
charset=3Dutf-8"></head><body style=3D"word-wrap: break-word; =
-webkit-nbsp-mode: space; line-break: after-white-space;" =
class=3D"">Hopefully quick question to those more perl savvy!<div =
class=3D""><br class=3D""></div><div class=3D"">I am trying to get emacs =
to build under Mac OS 11.X Big Sur. And it is being surly=E2=80=A6..=
<div class=3D""><br class=3D""></div><div class=3D"">When building =
emacsen now with Perl 5.30.2 the error is thrown at this =
point:</div><blockquote style=3D"margin: 0 0 0 40px; border: none; =
padding: 0px;" class=3D""><div class=3D"">perl -wc =
generate-install-list<br class=3D"">Can't use 'defined(@array)' (Maybe =
you should just omit the defined()?) at generate-install-list line =
24.<br class=3D""><br class=3D""></div></blockquote><div class=3D"">That =
line is:</div><blockquote style=3D"margin: 0 0 0 40px; border: none; =
padding: 0px;" class=3D""><div class=3D"">if(! =
defined(@$installed_add_on_pkgs)) {</div></blockquote><div class=3D""><br =
class=3D""></div><div class=3D"">I have tried removing =E2=80=9Cdefined", =
but it doesn=E2=80=99t like that operating on an array reference. =
I tried substituting the =E2=80=9Cexists=E2=80=9D function but =
that isn=E2=80=99t well received either. How does one detect that =
the installed_add_on_pkgs is not defined as an array?</div><div =
class=3D""><br class=3D""></div><div =
class=3D"">-Scott</div></div></body></html>=
--Apple-Mail=_28F90A2D-2BB7-4C28-939F-F64378868FBA--
--===============4987497629014779912==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
--===============4987497629014779912==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
_______________________________________________
Fink-devel mailing list
[email protected]
List archive:
https://sourceforge.net/p/fink/mailman/fink-devel
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-devel
--===============4987497629014779912==--