import groovy.swing.SwingBuilder import javax.swing.* import java.awt.* class Gwitter{ sta…
--[[ author:looyer@sina.com date:2014/7/18 purpose:lua的继承演示 --]] --- base class "Object" l…
function overloaded() local fns = {} local mt = {} local function oerror() return error("I…
------------------------------------------------------------------- -- This library define…
use Win32::Internet; use Encode; $INET = new Win32::Internet(); $file = $INET ->FetchUR…
#!/usr/bin/perl use strict; #use warnings; use encoding 'utf8'; use Data::Dumper; sub dump…
$html=`curl http://www.u148.net/article/69164.html`; @img=$html=~m{<img.*?src="([^"]*)"…
#!perl use strict; use warnings; #原始字符串 my $src_str='select username, userid, deptid, role…
package LuaTidy; # 对 Lua 代码进行缩进重排 use Exporter; our @ISA = qw(Exporter); our @EXPORT_OK = …
#!/usr/bin/perl -w sub usage(){ print "\n"; print "Usage : perl extract_host.pl <filena…
use strict; my @path = (); my @lastpath = (); my $count; my $inputfile = "input"; my $max …
#!/usr/bin/perl use strict; use warnings; for (qw <"system" "system.bak">){ die "err…