Re: passing data



PhEaSaNt PLuCKeR wrote:
> How do I get two running perl scripts to pass data to each other?
The usual approach is to use sockets.

perldoc -f socket
perldoc IO::Handle

But you seem to be a novice, and most novices who want to pass data
between two running scripts don't _really_ want to do that.

> Another quickie, Is it possible to open a web page from a perl script, but
> be able to run the script viewable in a dos shell and also see data passed
> from that script to a web page?

Your question is garbled. If you are asking if it is possible to run a
Perl CGI script from a console (DOS shell, whatever) then the answer is
yes.

perldoc CGI

I also recommend the comp.lang.perl.misc posting guidelines:
http://mail.augustmail.com/~tadmc/clpmisc/clpmisc_guidelines.html

.



Relevant Pages

  • Re: Cannot reset LIBPATH in perl program on AIX
    ... his/her environment is set to access the database that is used ... > by the application in that development environment. ... > written several perl scripts that developer can use to search the ... >> want and the exec your perl script. ...
    (comp.lang.perl.misc)
  • Re: Re: Relative URLs and all that mishmash...
    ... "Joseph Ellis" wrote: ... > Perl scripts are run like a separate little program, ... Any relative URLs in the Perl script ... referencing in future versions of php. ...
    (alt.php)
  • question regarding how to launch perl script on remote machine
    ... so just to put it out there for my ideas to run more perl scripts at work using modules that I cannot install(whether due to lack of knoweldge or just don't have ... we have a solaris based unix server(lets say serverK) which is being served as central logon for all the daily tasks. ... What I am planning to do is write the scripts I want to run on SERVERK on linux machines and somehow just need to launch them from SERVERK. ... I have thought of writing a simple shell script which launchs a ssh session into linux machines using user name with initial script to run a perl script and logs off.. ...
    (perl.beginners)
  • Re: [SLE] perl question
    ... > I am trying to run the simplest of perl scripts. ... > Premature end of script headers: ... You will need to embed double quotes to make the meta tag work and not ...
    (SuSE)
  • Re: Another way to do this?
    ... > Perl scripts. ... pack() and unpack() are quite suitable for that. ... Or as a real script: ...
    (comp.lang.perl.misc)