php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #64845 Allows you to execute Perl files with parameters?
Submitted: 2013-05-15 16:34 UTC Modified: 2017-10-24 09:10 UTC
Votes:3
Avg. Score:3.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:1 (100.0%)
Same OS:0 (0.0%)
From: era_esteban at hotmail dot com Assigned:
Status: Suspended Package: perl (PECL)
PHP Version: 5.5.0RC1 OS: REL5
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: era_esteban at hotmail dot com
New email:
PHP Version: OS:

 

 [2013-05-15 16:34 UTC] era_esteban at hotmail dot com
Description:
------------
I was unable u found a way to run a program with parameters, something equivalent 
to a system call but using this extension.

No he podido u encontrado la forma de ejecutar un programa con parametros, algo 
equivalente a un system call pero usando esta extension.

Test script:
---------------
Example:

The Normal command Line execution:

./someFile.pl-u pep-s qq-v 1

How do I make the same with:

            $ perl = new perl ();
            $ perl-> require (/ someFile.pl);

As the program gets the parameters without having to rewrite the program using only the required pm?


Ejemplo:

La normal ejecucion en linea de comando:

./someFile.pl -u pep -s qq -v  1

Como realizo lo mismo con:

           $perl = new Perl();
           $perl->require( /someFile.pl );

Como obtiene el programa los parametros sin tener que reescribir el programa usando solo los pm requeridos?



Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2013-05-20 00:22 UTC] pete at petermcdonald dot co dot uk
This really is not the place to get support on the extension.

It would be worth looking at http://pecl.php.net/support.php for support in usage.
 [2017-10-24 09:10 UTC] kalle@php.net
-Status: Open +Status: Suspended
 [2017-10-24 09:10 UTC] kalle@php.net
The perl package has had no activity for at least 4 years, so I'm gonna consider it dead. If a new maintainer decides to pick this back up, he/she can re-open the report
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Wed Feb 05 20:01:30 2025 UTC