On Thursday, Nov 6, 2003, at 17:57 US/Pacific, Trent Rigsbee wrote:


Hi! Newbie question here but is it possible to use PC Anywhere with Perl?
If so, how? What kinds of things can you do? This question came up
in a conversation with some friends and so I thought I'd ask the group.
I'm sure I'm a typical newbie in that I'm having trouble sensing the
possibilities that one can do with a language.
[..]

Tim has proposed one approach to the problem, that is probably
a bit more complex, since it would mean jumping right into the
'networking solution space', and that can be way fun.

But allow me to slow it down a bit and step back to your basic
problem, and hopefully offer some 'perspective'.

A simple way of looking at the problem is

we script so that we do NOT have to type a lot.

Basically anything that you can do with a 'command line', such
as a shell, dos prompt, what ever, can be put into a simple
perl script in lieu of putting it into a *.bat file of mere
dos commands. So that is a place to start thinking about where
and how you can use 'perl'.

One of the strengths of Perl is its 'regular expression engine',
hence it is easy to check the 'response strings' from other commands
to 'look for the useful bits'. Most folks forget that the human at
the command line typing IS the freaking 'regular expression engine'
who has to sort out what the 'output means' by looking at the output
and finding 'the useful bits' and then types some more stuff.

The evolution into 'perl coding' then is the stuff that you
want to be able to do, but that are 'beyond' the simple script things.
This is where you get into the various network enabled solutions,
as well as what things have been exposed about the WIN32 API that
you can start accessing through the various perl modules.

At which point you are going to want to learn about how to make
your own perl modules...

The first part of that question then is

        so what do you do with that PC that you connect to with
                the PC Anywhere?

then onto the simpler

how can I simplify that process...

ciao
drieux

---


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



Reply via email to