Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic

Re: A few questions regarding and possible alternatives

by 5mi11er (Deacon)
on May 23, 2013 at 20:37 UTC ( #1035020=note: print w/replies, xml ) Need Help??

in reply to A few questions regarding and possible alternatives

I would recommend you use the expect methods for most everything. Switching back and forth, wondering which method would be better means that it will become more difficult down the road to tweak things to add a smidgen more functionality if you didn't start out using expect for that task.

Expect is pretty mature, as such, there isn't a need to add features all the time, and there are apparently not many bugs that need squashed, so it's age could be considered a good thing. It works, and works well.

Update: (I didn't answer other questions)

If the expect script parts are complicated enough, you might find that writing actual expect scripts rather than embedding them in perl, and calling those scripts from perl may simplify the tasks. This is typically what I've done with my scripts. Without actual or simulated examples, it's difficult to point you in a direction or suggest improvements.


  • Comment on Re: A few questions regarding and possible alternatives

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1035020]
[GotToBTru]: time for some C8H10N4O2 for me
[ambrus]: GotToBTru: wait, you tell only the atom totals of what you want? Is that like ordering food in a restaurant by telling only the nutrient amounts you need, or
[ambrus]: like when a medieval scientist supposedly proves his priority inventing something by having previously published an anagram of a thousand letters long summary of the invention?
[choroba]: Progress! Nowadays, you can write a Perl script to generate such an anagram!
[GotToBTru]: i like to order my chemicals a-la-carte ambrus ;)

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (8)
As of 2016-12-06 13:04 GMT
Find Nodes?
    Voting Booth?
    On a regular basis, I'm most likely to spy upon:

    Results (104 votes). Check out past polls.