Re: perl test

Liste des GroupesRevenir à cl misc 
Sujet : Re: perl test
De : retroguy (at) *nospam* novabbs.com (Retro Guy)
Groupes : misc.test comp.lang.misc
Date : 08. Sep 2024, 00:11:41
Autres entêtes
Organisation : Rocksolid Light
Message-ID : <aa09ee406562579bb1c5723aaeffe953@www.novabbs.org>
References : 1 2 3 4 5 6 7 8
User-Agent : Rocksolid Light
On Sat, 7 Sep 2024 22:59:41 +0000, Lawrence D'Oliveiro wrote:

On Sat, 7 Sep 2024 05:07:13 -0700, Retro Guy wrote:
>
My use case was escaping a set of strings for use in a command line.
>
If you want to pass arguments to an external program, don’t bother going
through a shell if you can help it. Invoke the program and pass the
command-line arguments directly, then you don’t have to worry about
shell
specials.
That would be my preference, but I'm not sure how to do that from Perl.
My use case is internal (not code expected to run anywhere else), so
this works, but I should put some time into learning how to invoke the
php program from Perl properly when I have some time.
--
Retro Guy

Date Sujet#  Auteur
6 Sep 24 * Re: perl test15Lawrence D'Oliveiro
6 Sep 24 `* Re: perl test14Retro Guy
7 Sep 24  +* Re: perl test3Lawrence D'Oliveiro
7 Sep 24  i`* Re: perl test2Retro Guy
7 Sep 24  i `- Re: perl test1Lawrence D'Oliveiro
7 Sep 24  `* Re: perl test10Peter Dean
7 Sep 24   +* Re: perl test3Lawrence D'Oliveiro
7 Sep 24   i`* Re: perl test2Peter Dean
7 Sep 24   i `- Re: perl test1Peter Dean
7 Sep 24   `* Re: perl test6Retro Guy
7 Sep 24    +- Re: perl test1Peter Dean
8 Sep 24    `* Re: perl test4Lawrence D'Oliveiro
8 Sep 24     `* Re: perl test3Retro Guy
8 Sep 24      `* Re: perl test2Lawrence D'Oliveiro
8 Sep 24       `- Re: perl test1Retro Guy

Haut de la page

Les messages affichés proviennent d'usenet.

NewsPortal