| 1 This is really the wrong place for a HOWTO on writing perl scripts for gaim, |
1 This is really the wrong place for a HOWTO on writing perl scripts for gaim, |
| 2 but there didn't seem to be a much better place. |
2 but there didn't seem to be a much better place. |
| 3 |
3 |
| 4 If you've ever written a perl script for X-Chat then you've basically written |
4 If you've ever written a perl script for X-Chat then you've basically written |
| 5 one for gaim as well. perl.c in gaim's source is basically an exact copy of |
5 one for gaim as well. perl.c in gaim's source is basically an exact copy of |
| 6 X-Chat's perl.c file, with small modifications to suit GAIM rather than IRC. |
6 X-Chat's perl.c file, with small modifications to suit Gaim rather than IRC. |
| 7 |
7 |
| 8 Basically the reason for including perl is based on the experience with the |
8 Basically the reason for including perl is based on the experience with the |
| 9 plugins. X-Chat's docs on Perl Scripting sums it up nicely: |
9 plugins. X-Chat's docs on Perl Scripting sums it up nicely: |
| 10 it's not quite as simple to stick a module together in C and make it |
10 it's not quite as simple to stick a module together in C and make it |
| 11 stable compared to the development time of perl code |
11 stable compared to the development time of perl code |