Skip to content

Instantly share code, notes, and snippets.

View jluis's full-sized avatar
💭
alt FOSDEM

Jose Luis jluis

💭
alt FOSDEM
View GitHub Profile
@jluis
jluis / idlist.pl
Created November 7, 2014 10:46
Barcelona Perl Workshop 2014 Idcvs generator
#!/usr/bin/perl
use 5.010;
use strict;
use warnings;
use utf8;
binmode(STDOUT, ":utf8");
binmode(STDIN,":utf8");

Keybase proof

I hereby claim:

  • I am jluis on github.
  • I am jluis (https://keybase.io/jluis) on keybase.
  • I have a public key whose fingerprint is EA45 CEAF FC85 200E C198 88B4 0341 5507 7FCD 4CDB

To claim this, I am signing this object:

@jluis
jluis / gist:4045508
Created November 9, 2012 12:45
alternativa para Grep.pm
#
# Text matching function (feel free to use)
#
# returns: first match or undef
#
sub match_text {
my ( $pattern, $content ) = @_;
$content =~ /$pattern/p;