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 しても駄目でしょうか?
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
MacRoman試してみました。
一点追加の現象で、日本語アプリ名をMac::Growl経由でレジストすると(Encodeは何も弄ってない)文字化けした状態で登録されているのを確認しました(通知は出てない)