��2010-04-22
* [Perl][���] perl-casual #02�Υ饤�֥����ǥ��󥰤ǵ��Ť�����
��������perl-casual #02��lestrrat����twitter api����ǡ������������ץ������Υ饤�֥����ǥ��󥰤ò¤µ¤ï¿½Þ¤ï¿½ï¿½ï¿½ï¿½ï¿½ï¿½ï¿½ï¿½ï¿½ï¿½ï¿½Ç¡ï¿½ï¿½ï¿½ï¿½ï¿½ï¿½Ü¼ï¿½Åªï¿½ï¿½ï¿½ï¿½Ê¤ï¿½ï¿½È¤ï¿½ï¿½ï¿½ï¿½Ê¤Î¤Ç¤ï¿½ï¿½ï¿½ï¿½ï¿½ï¿½ï¿½ï¿½ï¿½ï¿½ï¿½ï¿½Å¤ï¿½ï¿½ï¿½ï¿½ï¿½ï¿½È¤ï¿½ï¿½ï¿½ï¿½ï¿½Î¤ï¿½ï¿½ï¿½Â��
LWP��Ȥä�Twitter API��á����JSON�ǡ�����Ÿ��������ʬ�ǡ�
# $response��HTTP::Response�Υ��֥������� decode_json( $response->decoded_content );
�Ȥ��������ɡ������Ϥ�����ư��Ƥ��ޤ����������ˤ�äƤ�"Wide character in subroutine entry"��croak���ޤ�������ϡ�$response->decoded_content
���֤��ͤ�Unicode������Ǥ���
���ǤϤʤ�����������פ��ä����Ȥ����ȡ�Twitter API���֤���JSON�ǡ�����ʸ����\u�ǥ��������פ���Ƥ��ޤ������Ĥޤꡢ$response->decoded_content
�����ͤ�Unicodeʸ����ǤϤ����Τμ¼�ascii�����ǹ�������Ƥ��ޤ���������������decode_json��croak���ޤ��󡣤Ǥ����顢�åµï¿½ï¿½ï¿½ï¿½Ê¬ï¿½ï¿½
decode_json( $response->content ); # ����utf-8�ǡ���
�Ȥ������������Ǥ���decoded_content���Ȥ���������
JSON->new->utf8(0)->decode( $response->decoded_content );
�ʤɤΤ褦�ˤ�����ɤ��Ǥ��礦��decode_json
��ư��ˤĤ��Ƥϡ���������ε����ʤɤ⡣
* [���] �صհ���Acme�����٤�˺��Ƥ����줿����
�������κ��Ʋ�ξ�ǡصհ���Acme�����٤���ä��Τ��ܤ�˺��Ƶ���줿��������ä����褦�Ǥ����������ꤢ��ޤ�����makamaka.donzoko at gmail.com ������ޤǤ�Ϣ�����������ޤ���
�����Υ�����ץȤ� decode_json $response->content �ʤ�����ɡ����ä��ʤ�����ס������ʤϤ��Ǥ���͡�
������������ SYNOPSIS���ԥڤ�����ä�������������ݤ��ä���
�����Ϥ�����ͤǤ�����
�Ϥ������������פǤ����� decode_json $response->content