Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.os.linux.misc > #81105
| From | Anssi Saari <anssi.saari@usenet.mail.kapsi.fi> |
|---|---|
| Newsgroups | comp.os.linux.misc |
| Subject | Re: Perl question |
| Date | 2026-01-14 10:28 +0200 |
| Organization | An impatient and LOUD arachnid |
| Message-ID | <sm01pjsvbs1.fsf@lakka.kapsi.fi> (permalink) |
| References | <slrn10me2bs.2q1o6.lars@cleo.beagle-ears.com> |
Lars Poulsen <lars@beagle-ears.com> writes: > Program runs fine, when I pun it using "perl program". > But when I "chmod +x program" and run it as "./program" > it has syntax errors on "use strict;" and on the commented > out first line of @bbb. I'd guess whatever perl gets executed via "perl program" might be different from /usr/bin/perl? Running "which perl" might tell you. Running "perl -v" might also give some hints.
Back to comp.os.linux.misc | Previous | Next — Previous in thread | Next in thread | Find similar
Perl question Lars Poulsen <lars@beagle-ears.com> - 2026-01-14 03:11 +0000
Re: Perl question Lawrence D’Oliveiro <ldo@nz.invalid> - 2026-01-14 05:42 +0000
Re: Perl question Anssi Saari <anssi.saari@usenet.mail.kapsi.fi> - 2026-01-14 10:28 +0200
Re: Perl question Richard Kettlewell <invalid@invalid.invalid> - 2026-01-14 08:49 +0000
Re: Perl question Mike Scott <usenet.16@scottsonline.org.uk.invalid> - 2026-01-14 10:07 +0000
Re: Perl question Giovanni <lsodgf0@home.net.it> - 2026-01-14 11:38 +0100
Re: Perl question ram@zedat.fu-berlin.de (Stefan Ram) - 2026-01-14 10:44 +0000
Re: Perl question Lawrence D’Oliveiro <ldo@nz.invalid> - 2026-01-14 11:07 +0000
Re: Perl question **solved ** Lars Poulsen <lars@beagle-ears.com> - 2026-01-14 13:09 +0000
Re: Perl question **solved ** Lawrence D’Oliveiro <ldo@nz.invalid> - 2026-01-14 20:53 +0000
Granularity of programs (was: Re: Perl question **solved **) Nuno Silva <nunojsilva@invalid.invalid> - 2026-01-14 23:51 +0000
Re: Granularity of programs c186282 <c186282@nnada.net> - 2026-01-14 20:40 -0500
Re: Perl question Eric Pozharski <apple.universe@posteo.net> - 2026-01-14 13:29 +0000
Re: Perl question Eli the Bearded <*@eli.users.panix.com> - 2026-01-15 06:11 +0000
Re: Perl question Eric Pozharski <apple.universe@posteo.net> - 2026-01-16 21:34 +0000
Re: Perl question rbowman <bowman@montana.com> - 2026-01-14 19:06 +0000
csiph-web