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

Re: Perl scripting additions.



Mike Guidero scripsit:
>I'd like to see more work on the perl scripting interface.  In order to
>hopefully fuel interest, I've done some additions myself.
>
>(Diffs coming your way soon, zed)
>
>My current additions include:
>
>IRC::get_info(4)
>	Returns the full pathname to the .xchat directory.
>	Like /home/user/.xchat
>	Useful for saving config data for your script.
This I do not understand.... the xchat directory's name is harwired
into the source of xchat, at least if I do understand the way
g_get_home_dir() function works... In that case, the xchat dir is
given by 

$xchatdir = $ENV{'HOME'}.".xchat/";

That's the way I define it in my perl-scripts...

-- 
Leo Cacciari 
Dept. Informatique UFR Sciences et Techniques
Université de Pau


-
XChat-discuss: mailing list for XChat users
Archive:       http://mail.nl.linux.org/lists/
Posted By:     Leo Cacciari <leo.cacciari@univ-pau.fr>