perl 面向对象
2016-01-07 09:49
155 查看
use lib 'D:\360安全浏览器下载\pfwx-master\pfwx-master\lib'; use Weixin::Client; use Data::Dumper; my $client = Weixin::Client->new(debug=>0); my $xx= Dumper($client); print $xx; print "\n" use Weixin::Client; 对应的D:\360安全浏览器下载\pfwx-master\pfwx-master\lib\Weixin cat Client.pm C:\Users\Administrator\Desktop\perl 大骆驼\黑豹>perl a1.pl $VAR1 = bless( { 'ua' => bless( { 'max_redirect' => 7, 'ssl_opts' => { 'verify_hostname' => 0 }, 'protocols_forbidden' => undef, 'show_progress' => undef, 'handlers' => { 'request_prepare' => bless( [ { 'owner' => 'LWP::UserAgent::cookie_jar', 'callback' => sub { "DUMMY" }, 'line' => 'C:/Perl/site/lib/LWP/UserAgent.pm:705' } ], 'HTTP::Config' ), 'response_header' => bless( [ { 'owner' => 'LWP::UserAgent::parse_head', 'callback' => sub { "DUMMY" }, 'm_media_type' => 'html', 'line' => 'C:/Perl/site/lib/LWP/UserAgent.pm:684' } ], 'HTTP::Config' ), 'response_done' => bless( [ { 'owner' => 'LWP::UserAgent::cookie_jar', 'callback' => sub { "DUMMY" }, 'line' => 'C:/Perl/site/lib/LWP/UserAgent.pm:708' } ], ' HTTP::Config' ) }, 'no_proxy' => [], 'protocols_allowed' => undef, 'local_address' => undef, 'use_eval' => 1, 'requests_redirectable' => [ 'GET', 'HEAD' ], 'timeout' => 300, 'cookie_jar' => bless( { 'autosave' => 1, 'COOKIES' => { 'wx.qq .com' => { '/' => { 'wxuin' => [ '0', '164192082', undef, 1, '', 1452389893, '' ], 'webwxuvid' => [ '0', '6d4c8cb706c398363b75383415b2252973b55e5fa6 6a2d1ae7f7ef0ed07163c95c879af50e91dc3cfdc529b106ae4dfa', undef, 1, '', 1767338908, '' ], 'wxloadtime' => [ '0', '1452061951_expired', undef, 1, '', 1452105330, '' ], 'mm_lang' => [ '0', 'zh_CN', undef, 1, '', 1452114456, '' ], 'wxpluginkey' => [ '0', '1452128554', undef, 1, '', 1452173893, '' ], 'wxsid' => [ '0', 'xoUGfUYwn26RcGAY', undef, 1, '', 1452173893, '' ] } }, '.qq.c om' => { '/' => { 'webwx_data_ticket' => [ '0', 'AQcxIka7SpKwsRzNcKc8y3yB', undef, 1, '', 1452173893, '' ] } } }, 'file' => 'C:\\Users\ \ADMINI~1\\AppData\\Local\\Temp/weixin_client_login.dat', 'hide_cookie2' => 1 }, 'HTTP::Cookies' ), 'def_headers' => bless( { 'user-agent' => 'Moz illa/5.0 (Windows NT 6.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/37.0.206 2' }, 'HTTP::Headers' ), 'proxy' => {}, 'max_size' => undef }, 'LWP::UserAgent' ), 'is_stop' => 0, '_send_message_queue' => bless( { 'callback_for_get_bak' => sub { "DUMMY" }, 'callback_for_get' => $VAR1-> {'_send_message_queue'}{'callback_for_get_bak'}, 'queue' => [] }, 'Weixin::Message::Queue' ), '_send_msg_interval' => 4, 'tmpdir' => 'C:\\Users\\ADMINI~1\\AppData\\Local\\Temp', 'plugins' => {}, 'on_receive_msg' => undef, '_data' => { 'friend' => [], 'user' => {}, 'chatroom' => [] }, '_last_sync_time' => undef, '_sync_running' => 0, 'asyn_ua' => bless( { 'inactivity_timeout' => 300, 'max_redirects' => 5, 'agent' => 'Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/37.0.2062', 'cookie_jar' => $VAR1->{'ua'}{'cookie_jar '}, 'request_timeout' => 300 }, 'Weixin::UserAgent' ), '_token' => {}, '_last_synccheck_time' => undef, '_synccheck_interval' => 1, 'plugin_num' => 0, 'on_send_msg' => undef, 'debug' => 0, '_watchers' => {}, '_synccheck_error_count' => 0, '_intervals' => {}, '_receive_message_queue' => bless( { 'callback_for_get_bak' => sub { "DUMMY" }, 'callback_for_get' => $VAR 1->{'_receive_message_queue'}{'callback_for_get_bak'}, 'queue' => [] }, 'Weixin::Message::Queue' ), '_synccheck_running' => 0, 'ua_retry_times' => 5, 'on_run' => undef, '_sync_interval' => 1, 'cookie_jar' => $VAR1->{'ua'}{'cookie_jar'}, 'client_version' => '2.0' }, 'Weixin::Client' );
相关文章推荐
- delete和delete[]的区别
- The file couldn't be opened because you don't have permission to view it.解决办法
- JAVA中使用FTPClient实现文件上传下载
- 【视频】测试经理必修课
- java爬虫入门
- 保险明细[转]
- UDID与OpenUDID的区别联系
- Ubuntu下Sublime Text 3解决无法输入中文的方法
- qt 绘图
- Android使用资源(一)
- 邮件开发:SMTP协议详解
- Eclipse问题记录
- .net调用外部exe
- 邻近 算法 实例
- Fbx SDK 的.NET封装
- 使用FlyMcu将hex文件下载到智芯一号步骤
- 拥抱 Android Studio 之二:Android Studio 与 Gradle 深入
- 分段控件 (UISegmentedControl)
- python zip(), map()
- Debian 8 Tab命令无法自动补全