Re: Parameters in command line
From: John Bokma (postmaster_at_castleamber.com)
Date: 02/20/05
- Next message: A. Sinan Unur: "Re: Parameters in command line"
- Previous message: Thomas Jahns: "Re: ithreads + signals on modern Unices"
- In reply to: Brian McCauley: "Re: Parameters in command line"
- Next in thread: A. Sinan Unur: "Re: Parameters in command line"
- Reply: A. Sinan Unur: "Re: Parameters in command line"
- Reply: Brian McCauley: "Re: Parameters in command line"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 20 Feb 2005 21:23:01 GMT
Brian McCauley wrote:
> yusufdestina wrote:
>
>> Can someone point me to a direction for this?
>> I have an application that opens another perl execuatable file. [PAR]
>> How can I pass vars to the perl appl.?
>> ex: testfile.exe name=value ...
>
> It it confusing to use an .exe suffix on a Perl script.
Read a bit more about PAR and pp and then you understand.
>> Tnx for ur time and help.
>> sorry for my poor english..
>
> Then write Perl. Show us what you have tried.
>
> You call external executables with argument using system(). RTFM for
> details.
>
> But the real answer is that you should probably not do it.
>
> Do not have the first script call the second.
>
> Cut out the guts of the second Perl script and make it into a module
> that is used by both scripts.
Again, read more about PAR and pp, RTFM so to speak :-D.
-- John Small Perl scripts: http://johnbokma.com/perl/ Perl programmer available: http://castleamber.com/ Happy Customers: http://castleamber.com/testimonials.html
- Next message: A. Sinan Unur: "Re: Parameters in command line"
- Previous message: Thomas Jahns: "Re: ithreads + signals on modern Unices"
- In reply to: Brian McCauley: "Re: Parameters in command line"
- Next in thread: A. Sinan Unur: "Re: Parameters in command line"
- Reply: A. Sinan Unur: "Re: Parameters in command line"
- Reply: Brian McCauley: "Re: Parameters in command line"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|