perl and dialects
[1/4] from: jseq:mediaone at: 25-Oct-2001 10:37
I just ran across this link on the use.perl.org site.
http://www.cpan.org/modules/by-category/15_World_Wide_Web_HTML_HTTP_CGI/WWW/
SIMONW/Inline-Webchat-0.5.readme
It's a dialect for writing web automation scripts in Perl.
Gisle Aas' Expect like webchat language is a simple way of
perfomring common web based tasks such as getting a page, checking
for links, submitting data to a form and so on.
This allows you to mix and match Perl with webchat i.e
use Inline::WebChat;
use Data::Dumper;
print Dumper get_hits ('test query');
exit 0;
__WebChat__
sub get_hits {
GET http://www.altavista.com
EXPECT OK F q=$_[0]
CLICK EXPECT OK return @links
}
Although you have the usual horrid perl syntax surrounding it, the
dialecting part looks very slick and REBOL-esque. Now if we could only get
Inline::REBOL ;-)
JS
[2/4] from: chris:starforge at: 25-Oct-2001 18:33
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
#Thursday 25 October 2001 10:37# Message from John Sequeira:
> Although you have the usual horrid perl syntax surrounding it, the
> dialecting part looks very slick and REBOL-esque. Now if we could only
get
> Inline::REBOL ;-)
I doubt that will ever happen TBH. I expect most RT's revenue stream comes
from /command and /pro versions of REBOL, allowing people to embed rebol
code in perl scripts would allow people to use /pro or /command level
operations with /core or /view by using hybrid perl/rebol functions. Of
course, this also works the other way - I`ve been forced to learn perl
because I couldn`t persuade my sysadmins to let me install rebol, or my
boss to buy /command so that I could access the oracle database at work...
Chris
- --
New sig in the works
Explorer2260 Designer and Coder
http://www.starforge.co.uk
- --
If Microsoft built cars, the airbag system would say "are you sure?"
before going off.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org
iD8DBQE72JNCtwxr0HXns0wRAkl3AJ9Wqj0T+RyOqi2t11RCuQAW1sCiVQCgqTUB
6pVGzxVBN4klKCdCAh++fnc=gwl+
-----END PGP SIGNATURE-----
[3/4] from: petr:krenzelok:trz:cz at: 25-Oct-2001 23:48
----- Original Message -----
From: "Chris" <[chris--starforge--co--uk]>
To: <[rebol-list--rebol--com]>
Sent: Friday, October 26, 2001 12:33 AM
Subject: [REBOL] Re: perl and dialects
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
<<quoted lines omitted: 10>>
> because I couldn`t persuade my sysadmins to let me install rebol, or my
> boss to buy /command so that I could access the oracle database at work...
Chris, - I work for large enough company, but - what does your sysadmin have
in common with decision upon what tools company supports? As for buying
/Command, well, you have to probably know the right ppl to ask for, inside
your company :-)
-pekr-
[4/4] from: chris:starforge:demon at: 26-Oct-2001 9:53
Petr Krenzelok wrote:
> Chris, - I work for large enough company, but - what does your sysadmin have
> in common with decision upon what tools company supports? As for buying
> /Command, well, you have to probably know the right ppl to ask for, inside
> your company :-)
I work for a British university. This should explain the problem.
Chris
--
.------{ http://www.starforge.co.uk }-----. .--------------------------.
=[ Explorer2260, Designer and Coder \=\ P: TexMaker, ROACH, site \
=[___You_will_obey_your_corporate_masters___]==[ Stack: EETmTmTRRSS------ ]
Notes
- Quoted lines have been omitted from some messages.
View the message alone to see the lines that have been omitted