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
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please — but make sure to vote on the bug!
Your email address:
MUST BE VALID
Solve the problem:
39 + 14 = ?
Subscribe to this entry?

 
 [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

Add a Patch

Pull Requests

Add a Pull Request

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-2024 The PHP Group
All rights reserved.
Last updated: Fri Apr 19 07:01:27 2024 UTC