Date: Wed, 21 Apr 2004 16:54:02 -0500 From: Kirk Strauser <kirk@strauser.com> To: freebsd-questions@freebsd.org Subject: Re: perl coding ? Message-ID: <878ygpatfp.fsf@strauser.com> In-Reply-To: <4086AF7E.5050102@ukug.uk.freebsd.org> (Mark Ovens's message of "Wed, 21 Apr 2004 18:29:34 %2B0100") References: <MIEPLLIBMLEEABPDBIEGMEHHFMAA.Barbish3@adelphia.net> <4086AF7E.5050102@ukug.uk.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
--=-=-= Content-Transfer-Encoding: quoted-printable At 2004-04-21T17:29:34Z, Mark Ovens <mark@ukug.uk.freebsd.org> writes: > $dup-number =3D substr($dup-counter, 0, length($dup-counter) - 1); Did you actually test that? I'm pretty sure Perl doesn't like dashes in variable names: % perl -e '$foo-bar =3D 1;' Can't modify subtraction (-) in scalar assignment at -e line 1, near "1= ;" Execution of -e aborted due to compilation errors. =2D-=20 Kirk Strauser "94 outdated ports on the box, 94 outdated ports. Portupgrade one, an hour 'til done, 82 outdated ports on the box." --=-=-= Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (GNU/Linux) iD8DBQBAhu2C5sRg+Y0CpvERAuwAAJ46n6UFQp6lZr7oBUzkYf1otYzQ9ACfXdmM XZbe+cmFlqwtDMlllSTDaBs= =Jywp -----END PGP SIGNATURE----- --=-=-=--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?878ygpatfp.fsf>