Created
March 18, 2011 05:01
-
-
Save mattn/875644 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!perl | |
use strict; | |
use warnings; | |
use Growl::Any; | |
my $growl = Growl::Any->new( appname => 'foo', events => ['bar'] ); | |
$growl->notify( 'bar', 'baz', '...' ); | |
warn $growl->backend; |
use utf8したら xs?部分のエラーは出なくなりましたけど次のエラー(cpanからの最新)
Wide character in subroutine entry at /System/Library/Perl/5.10.0/darwin-thread-multi-2level/Encode.pm line 182.
p5-Growl-Anyをgithubから取ってuse lib '../lib'したsampleは同じエラーっぽいです(行数違うけど)
Modification of a read-only value attempted at /System/Library/Perl/5.10.0/darwin-thread-multi-2level/Encode.pm line 183.
うむ...ちょっと考えてきます。
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
先頭に use utf8 しても駄目でしょうか?