Regular, I set variable contain in DOS batch file by:
set name1_dos=TomSmith

If I have a variable in Per script as:
$name1_perl=MaryGibson

How can I get the contain of $name1 to my DOS
environment or vice versa. That means how to transfer
MaryGibson to overwrite TomSmith, contain of
name1_dos, or vice versa?  Thank you for your help.

--- "A. Rivera" <[EMAIL PROTECTED]> wrote:
> I'm not too sure of what you're asking for.  Can you
> give me a better
> example?  Maybe someone else knows what you want.
> 
> ----- Original Message -----
> From: "Jason-Yahoo" <[EMAIL PROTECTED]>
> To: "A. Rivera" <[EMAIL PROTECTED]>;
> <[EMAIL PROTECTED]>
> Sent: Friday, November 09, 2001 4:37 PM
> Subject: Re: How to run DOS batch files or DOS
> commands in the Perl script
> 
> 
> > Thank you very much.  I tested successfully.  One
> more
> > question that how can I transfer the variables of
> in
> > Perl Script to DOS batch or vice versa (e.g.
> > "$name1_perl=..." in Perl; "set name1_dos=..." in
> DOS
> > Batch)
> >
> > --- "A. Rivera" <[EMAIL PROTECTED]> wrote:
> > > system("batchfile.bat");
> > >
> > > ----- Original Message -----
> > > From: "Jason-Yahoo" <[EMAIL PROTECTED]>
> > > To: <[EMAIL PROTECTED]>
> > > Sent: Friday, November 09, 2001 4:09 PM
> > > Subject: How to run DOS batch files or DOS
> commands
> > > in the Perl script
> > >
> > >
> > > > I can run perl script in the DOS batch file
> e.g.
> > > >
> > > > ....
> > > > @echo Next line will run Perl Script
> > > > perl perl_sample1.pl
> > > > ....
> > > > ....
> > > >
> > > > But, how can I run DOS batch files or commands
> and
> > > > executable file in the Perl script.  Please
> give
> > > me example.
> > > >
> > > >
> __________________________________________________
> > > > Do You Yahoo!?
> > > > Find a job, post your resume.
> > > > http://careers.yahoo.com
> > > >
> > > > --
> > > > To unsubscribe, e-mail:
> > > [EMAIL PROTECTED]
> > > > For additional commands, e-mail:
> > > [EMAIL PROTECTED]
> > > >
> > > >
> > >
> > >
> > > --
> > > To unsubscribe, e-mail:
> > > [EMAIL PROTECTED]
> > > For additional commands, e-mail:
> > > [EMAIL PROTECTED]
> > >
> >
> >
> > __________________________________________________
> > Do You Yahoo!?
> > Find a job, post your resume.
> > http://careers.yahoo.com
> >
> 
> 
> -- 
> To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> For additional commands, e-mail:
> [EMAIL PROTECTED]
> 


__________________________________________________
Do You Yahoo!?
Find a job, post your resume.
http://careers.yahoo.com

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to