[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Perl scripting feature request



Leo Cacciari wrote:
> To ensure compatibility, I already done the following
> 
>   perl.c as a version.revision number (actually mine is 1.2) where
> revision 1.0 is supposed to be the original file. Variables
> IRC::perl_c_version and IRC::perl_c_date are defined and made gloablly
> accessible at bootstrap (through the load_file variable of function
> perl_init)

I don't think that's much of a factor, as long as you don't modify required
arguments or return values of current functions. 

> If you sent me a diff file I can merge them and so obtain revision 1.3
> :)

Aye, what kind of diff ya want?
 
> We should also work on Dietrich idea of a interface to windows, using
> the Perl-Gtk library....

Sounds good.
 
> I would also like to have  your preliminary version of the tutorial,
> so I can add a paragraph about using IRC::get_prefs. I already have an
> example, a script which try to get back your nick if you could not get
> it.

Give me about a day or two to clean it up... it's really rough, and doesn't yet
describe a couple features.  (Like IRC::user_info() with no argument returns
your user info.)

Anyway, if you and zed agree that you should maintain perl.c, I'll concur.

If you *really* look at it, there's not much that needs to be done.  The
current X-Chat perl scripting features are very simple, elegant, and make just
about anything possible, without overcomplicating the interface.  I think we
need to keep that philosophy for the most part.

-- 
Mike Guidero - http://mugwump.penguinpowered.com/~lshadow
*** If you search for the unknown, expect to be surprised. ***
PGP Public Key: http://mugwump.penguinpowered.com/~lshadow/pubkey.txt
Fingerprint   : DD87 C663 1767 B11F  1EDE D2AA 0DD1 89C6  56D7 109A
-
XChat-discuss: mailing list for XChat users
Archive:       http://mail.nl.linux.org/lists/
Posted By:     Mike Guidero <kymermosst@penguinpowered.com>