develooper Front page | perl.perl5.porters | Postings from March 2000

Re: What's left to do? [LONG]

Tom Hughes
March 23, 2000 16:08
Re: What's left to do? [LONG]
Message ID:
In message <>
 (Robert Spier) wrote:

> The interface is similar to TCL's Expect interface (which I
> have never used.), and while it takes a while to get used to it, and
> the documentation is spread out through a few different files and
> examples, it's not ``horrid''

I found that the interface was unnatural for simple things like
waiting for a listing strings or for an re.

Specifically the business of passing '-re' before the strings to
make them match as re's is wierd. I'd have though that assuming an
re would make more sense.

Equally indicating the match as an index into the list makes for
lots of magic constants in code. I'd rather get back the string
that match, rather than then having to call another routine to get


Tom Hughes (
..."Bother", said Pooh, as he failed the dope test. Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About