This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
my $s = "lorem ipsum..."; | |
my @a = (0,3); | |
print( substr( $s, @a ) ); # --> rem ipsum... --> scalar @a :( |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(defmacro lambda* (fname args &rest body) | |
`(lambda ,args | |
(labels ((,fname ,args ,@body)) | |
(fname ,@args)))) | |
(defmacro alambda (args &body body) | |
`(labels ((self ,args ,@body)) | |
#'self)) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env perl | |
use warnings; | |
use strict; | |
run() if !caller; | |
sub run { | |
chdir '/home/timo/Pictures/Fiene/'; | |
my @files = <*>; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
AnyEvent | |
App::Cache | |
Captcha::reCAPTCHA | |
Capture::Tiny | |
Carp::Always | |
CGI::Upload | |
Class::Accessor | |
Clone | |
CPAN::HTTP::Client | |
CPAN::HTTP::Credentials |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$(document).ready( function () { | |
var table; | |
table = $('#urls_table').dataTable( { | |
"bProcessing": true, | |
"sAjaxSource": "/test.pl/url/all/", | |
"sDom": 'T<"clear">lfrtip', | |
"sPaginationType": "full_numbers", | |
"oTableTools": { | |
"sRowSelect": "multi", | |
"aButtons": [ |
NewerOlder