Skip to content

Instantly share code, notes, and snippets.

View wchristian's full-sized avatar

Christian Walde (Mithaldu) wchristian

View GitHub Profile
sub _default_infx_format {
my ( $self ) = @_;
return {
sfArriveCode => {
col => 10, len => 3
},
sfDepartCodeRet => {
col => 13, len => 3,
function find_thumb_link_containers () {
var post_link = "a[href*='/post/view/']";
var has_thumb_img = ":has(img[src*='/thumb/'])";
var list = $( post_link + has_thumb_img ).parent();
return list;
}
"prereqs" : {
"runtime" : {
"requires" : {
"App::Cmd" : 0,
"DateTime::Format::Strptime" : 0,
"File::Slurp" : 0,
"Moose" : 0,
"MooseX::HasDefaults::RO" : 0,
"Parse::Range" : 0,
Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.
D:\tr>cpan
cpan shell -- CPAN exploration and modules installation (v1.9402)
Enter 'h' for help.
cpan[1]> install Devel::CheckLib
# This Makefile is for the DateTime::TimeZone extension to perl.
#
# It was generated automatically by MakeMaker version
# 6.56 (Revision: 65600) from the contents of
# Makefile.PL. Don't edit this file, edit Makefile.PL instead.
#
# ANY CHANGES MADE HERE WILL BE LOST!
#
# MakeMaker ARGV: ()
#
t/miniperl.t .............. 1/? Unknown error
Compilation failed in require at C:/Perl/lib/ActivePerl/Config.pm line 340.
BEGIN failed--compilation aborted.
Compilation failed in require at D:\Perl-Toolchain-Gang-Extutils-MakeMaker-5a99521\blib\lib/ExtUtils/MakeMaker.pm line 9.
BEGIN failed--compilation aborted at D:\Perl-Toolchain-Gang-Extutils-MakeMaker-5a99521\blib\lib/ExtUtils/MakeMaker.pm line 9.
Compilation failed in require at t/miniperl.t line 18.
BEGIN failed--compilation aborted at t/miniperl.t line 18.
t/miniperl.t .............. Dubious, test returned 9 (wstat 2304, 0x900)
All 1 subtests passed
P:\NDS\perl>dmake
C:\Perl\bin\perl.exe "-Iinc" Makefile.PL --config= --installdeps=Modern::Perl,0,File::Slurp,0,File::Find::Rule,0,Template,0,HTML::TableExtract,0,XML::Rules,0,Sm
art::Comments,0
include P:/NDS/perl/inc/Module/Install.pm
Set up gcc environment - 3.4.5 (mingw-vista special r3)
include inc/Module/Install/Metadata.pm
include inc/Module/Install/Base.pm
include inc/Module/Install/Makefile.pm
include inc/Module/Install/AutoInstall.pm
include inc/Module/Install/Include.pm
#!/usr/bin/perl
use strict;
use warnings;
BEGIN {
$ENV{CAP_DEVPOPUP_EXEC} = 0;
$ENV{CGI_APP_DEBUG} = 1;
}
use lib "..";
D:\Variable-Magic>dmake
cp lib/Variable/Magic.pm blib\lib\Variable\Magic.pm
C:\Perl\bin\perl.exe C:\Perl\site\lib\ExtUtils\xsubpp -typemap C:\Perl\lib\ExtUtils\typemap Magic.xs > Magic.xsc && C:\Perl\bin\perl.exe -MExtUtils::Command -e "mv" -- Magic.xsc
Magic.c
C:/MinGW/bin/gcc.exe -c -DNDEBUG -DWIN32 -D_CONSOLE -DNO_STRICT -DHAVE_DES_FCRYPT -DUSE_SITECUSTOMIZE -DPRIVLIB_LAST_IN_INC -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -DUS
E_PERLIO -DPERL_MSVCRT_READFIX -DHASATTRIBUTE -fno-strict-aliasing -mms-bitfields -O2 -DVERSION=\"0.43\" -DXS_VERSION=\"0.43\" "-IC:\Perl\lib\CORE" Magic.c
Running Mkbootstrap for Variable::Magic ()
C:\Perl\bin\perl.exe -MExtUtils::Command -e "chmod" -- 644 Magic.bs
C:\Perl\bin\perl.exe -MExtUtils::Mksymlists \
-e "Mksymlists('NAME'=>\"Variable::Magic\", 'DLBASE' => 'Magic', 'DL_FUNCS' => { }, 'FUNCLIST' => [], 'IMPORTS' => { }, 'DL_VARS' => []);"
<?php
$array[0] = array(1600,1601,1602,1603);
$array[1] = array(1601,1602,1603,1604);
$array[2] = array(1602,1603,1604,1605);
$num_filter = make_filter( "/^160[23]$/" );
$hits = array_map( $num_filter, $array );
exit;