摘要: 箭头操作符有两种用法。* 第一种用法是访问引用中的数据元素:```#!/usr/bin/perl -wuse strict;my @a = (5, 6, 7,9);my $aref = \@a;print $aref, "\n"; # ARRAY(0xbcac08)print $aref... 阅读全文
posted @ 2015-07-09 20:02 liuhui_pine 阅读(522) 评论(0) 推荐(0) 编辑
摘要: ```#!/usr/bin/perl -wuse strict;my $someURL = 'http://www.perl.com';my $html = Perl HomepageEOF#open (DATAFILE, ">data.file") || die "Could not open '... 阅读全文
posted @ 2015-07-09 15:18 liuhui_pine 阅读(108) 评论(0) 推荐(0) 编辑