diff options
| author | Teddy Wing | 2015-06-13 22:04:38 -0400 |
|---|---|---|
| committer | Teddy Wing | 2015-06-13 22:04:38 -0400 |
| commit | 696ddfbafe1b4da1ddd30cfa778460e0a8985905 (patch) | |
| tree | 4745f0403cfaf8f1835c17d8d73cd2a60d43e840 | |
| parent | 31553bb0c136945171a430fd7f38ca7200a0cd32 (diff) | |
| download | irssi-hipchat-stfu-696ddfbafe1b4da1ddd30cfa778460e0a8985905.tar.bz2 | |
Dump server information to log
Let's see what's in the `$server` hash and if it could be useful to us
in our checks.
| -rw-r--r-- | hipchat-stfu.pl | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/hipchat-stfu.pl b/hipchat-stfu.pl index c3a8b7d..1f89357 100644 --- a/hipchat-stfu.pl +++ b/hipchat-stfu.pl @@ -1,7 +1,8 @@ use strict; use vars qw($VERSION %IRSSI); -use Irssi qw(signal_add); +use Irssi qw(signal_add signal_stop); +use Data::Dumper; $VERSION = '1.00'; %IRSSI = ( @@ -17,7 +18,7 @@ sub test { my $filename = 'hipchat-stfu-output.txt'; open(my $fh, '>>', $filename) or die; - print $fh $server; + print $fh Dumper($server); print $fh "\t"; print $fh $text; print $fh "\t"; |
