• Shaarli
  • Tag cloud
  • Picture wall
  • Daily
  • RSS
  • Login
4253 shaares
4 / 7
Filters
140 results tagged perl

Perl Advent Calendar 2017 - Tiny Path Handling

QRCode

Path::Tiny is a tiny abstraction around file paths that makes it very easy to manipulate them and perform common operations on them.

Recently I've started using Path::Tiny in preference to both the internal Perl operators for file manipulation and the other abstractions like File::Spec and Path::Class because it makes it really easy to handle common operations easily without making the kind of common mistakes that those other approaches often result in when you're coding quickly.

http://perladvent.org/2017/2017-12-11.html
December 5, 2018 at 9:01:34 AM EST *
perl advent
FILLER

Perl Advent Calendar 2018 - Christmas Quoting

QRCode

use B qw(perlstring);
say STDERR 'DEBUG: The next $childname is '. perlstring($childname)

http://www.perladvent.org/2018/2018-12-04.html
December 5, 2018 at 8:56:39 AM EST *
perl advent
FILLER

Bless My Referents

QRCode

Object-oriented programming in Perl is easy. Forget the heavy theory and the sesquipedalian jargon: classes in Perl are just regular packages, objects are just variables, methods are just subroutines. The syntax and semantics are a little different from regular Perl, but the basic building blocks are completely familiar.

https://www.perl.com/pub/1999/09/refererents.html/
December 2, 2018 at 10:47:35 AM EST *
perl
FILLER

Setting up a Perl Development Environment with plenv - xdg.me

QRCode

This is a slightly modified copy of something I posted internally at work about setting up a development environment using plenv, which keeps your working Perl isolated from your system Perl. Many expert Perl developers already have some variation of this, but I’m posting it as a public service for people who’ve wanted this but never got around to it.

(I used to use perlbrew, but switched to plenv and haven’t looked back).

https://xdg.me/blog/setting-up-a-perl-development-environment-with-plenv/
November 6, 2018 at 9:04:20 AM EST *
perl
FILLER

Regex Tutorial - Lookahead and Lookbehind Zero-Length Assertions

QRCode

Lookahead and lookbehind, collectively called "lookaround", are zero-length assertions just like the start and end of line, and start and end of word anchors explained earlier in this tutorial. The difference is that lookaround actually matches characters, but then gives up the match, returning only the result: match or no match. That is why they are called "assertions". They do not consume characters in the string, but only assert whether a match is possible or not. Lookaround allows you to create regular expressions that are impossible to create without them, or that would get very longwinded without them.

https://www.regular-expressions.info/lookaround.html
October 29, 2018 at 11:10:39 AM EDT *
perl regex
FILLER

Getting started with Perl on Docker

QRCode
https://perlmaven.com/getting-started-with-perl-on-docker
September 5, 2018 at 3:56:45 PM EDT *
perl docker
FILLER

Deploying a Mojolicious Application using Hypnotoad and Apache

QRCode
https://perlmaven.com/deploying-a-mojolicious-application
September 2, 2018 at 8:57:27 PM EDT *
perl mojolicious
FILLER

Perl Advent Calendar 2017 - Mojolicious on the Command Line

QRCode

Mojolicious provides a utility class, ojo, that allows us to leverage the power of Mojolicious from the command line:

perl -Mojo -E 'say g("http://goo.gl/EsGk3b")->text'

The -M flag tells perl to load the following module, so -Mojo, despite looking like a super secret Mojo flag to perl actually is a cheeky way of saying use ojo.

ojo provides a whole host of single letter functions that are shortcuts to Mojolicious utilities, allowing you to quickly do things like fetching urls, reading and writing files, encoding and decoding json, manipulating data structures and a whole host more.

http://perladvent.org/2017/2017-12-15.html
August 1, 2018 at 9:47:04 AM EDT *
perl mojolicious
FILLER

Machine learning in Perl: Kyuubi goes to a (Model)Zoo during The Starry Night. | Sergey Kolychev [blogs.perl.org]

QRCode

Hello all, this is a fourth blog post in the Machine learning in Perl series, focusing on the AI::MXNet, a Perl interface to Apache MXNet, a modern and powerful machine learning library.

http://blogs.perl.org/users/sergey_kolychev/2018/07/machine-learning-in-perl-kyuubi-goes-to-a-modelzoo-during-the-starry-night.html
July 26, 2018 at 9:46:14 AM EDT *
perl neuralnetwork
FILLER

David Golden - "Taking Perl to Eleven with Higher-Order Functions"

QRCode

The Perl Conference 2018

Transformation helper function

Data::Fake

https://www.youtube.com/watch?v=USF4BHMFKbg&index=10&list=PLA9_Hq3zhoFx1inHPmwmbXrPcI8cc0fyO&t=0s
June 19, 2018 at 3:49:59 PM EDT *
perl video
FILLER

perldotcom/CONTRIBUTING.md at master · dnmfarrell/perldotcom · GitHub

QRCode

Interested in writing an article for Perl.com? Perhaps you want to get the word out about your new startup, provide a tutorial on your favorite module, or have community news to share. This document is for you.

https://github.com/dnmfarrell/perldotcom/blob/master/CONTRIBUTING.md
June 4, 2018 at 1:57:48 PM EDT *
hugo perl writing blog
FILLER

WWW::Mechanize Best Practices | i hack on things

QRCode

Recently at $work we were discussing some of the behaviours of WWW::Mechanize when submitting forms. For instance, when you pass the fields parameter to the submit_form() method, Mechanize might take a very lax approach to submitting your data. Imagine the following form:

http://www.olafalders.com/2018/04/13/wwwmechanize-best-practices/
April 16, 2018 at 11:17:08 AM EDT *
perl
FILLER

Perl Style

QRCode

Changing en passant

/usr/man/man3/foo.1 changes to /usr/man/cat3/foo.1

($catpage  = $manpage)  =~ s/man(?=\d)/cat/;

Use foreach() Loops
@bindirs = qw( /usr/bin /bin /usr/local/bin );
for (@libdirs = @bindirs) { s/bin/lib/ }

Use Hashes of Records, not Parallel Arrays
for $his ($people{"Jason"}) {
$his->{AGE} = 23;
$his->{DAD} = "Herbert";
}

https://www.perl.com/doc/FMTEYEWTK/style/slide-index.html/
April 2, 2018 at 2:53:49 PM EDT *
perl
FILLER

Perl one liners

QRCode
https://github.com/learnbyexample/Command-line-text-processing/blob/master/perl_the_swiss_knife.md
March 12, 2018 at 4:21:09 PM EDT *
linux perl
FILLER

Some Common Unicode Problems and Solutions using Perl DBD::ODBC and MS SQL Server

QRCode
https://www.easysoft.com/developer/languages/perl/sql-server-unicode.html
February 13, 2018 at 11:08:34 AM EST *
perl mssql unicode
FILLER

OpenCage Data, geocoding in Perl

QRCode
http://blog.builtinperl.com/post/opencage-data-geocoding-in-perl
December 4, 2017 at 9:23:01 AM EST *
perl geolocation
FILLER

What I expect from a Web Framework

QRCode

The Web Framework Is Dead

The main problem with Web Frameworks is the "Web"-part.

You either have a good web framework (Catalyst, Dancer) which makes it hard to reuse your code in non-web-contexts (and there are a lot of those: cronjobs, tests, fixup scripts, daemons, importer & exporter, ...); or you have a "closed system" like Mojolicous or Ruby on Rails, which tend to include everything (i.e. they come with their own email-system, cron-replacement, event loop, ...) but sort of drift away from the main language and generate their own ecosystem / walled garden.

https://domm.plix.at/perl/2017_08_what_i_expect_from_a_web_framework.html
August 10, 2017 at 10:03:11 AM EDT *
frameworks perl
FILLER

Introduction to Mojolicious | JT Smith [blogs.perl.org]

QRCode
http://blogs.perl.org/users/jt_smith/2015/03/introduction-to-mojolicious.html
August 4, 2017 at 3:50:02 PM EDT *
perl mojolicious frameworks
FILLER

Stand Out as a Developer

QRCode

He are the slides from my talk at #lpw2014 on how to conduct yourself as a Developer in an interview for further information please get in touch rick@eligo.co.uk

https://www.linkedin.com/groups/106254/106254-5938612570628849666
August 4, 2017 at 3:00:00 PM EDT *
career perl interviewing
FILLER

Speedometer - search.cpan.org

QRCode

Speedometer : An easy interface to the Benchmark module to compare the performance of two Perl Files. I have written one small module(Speedometer.pm). need reviews. Thanks.

http://search.cpan.org/~kpawar/Speedometer/lib/Speedometer.pm
August 4, 2017 at 1:55:15 PM EDT *
perl benchmark
FILLER
4 / 7
Shaarli · The personal, minimalist, super fast, database-free, bookmarking service by the Shaarli community · Documentation
Fold Fold all Expand Expand all Are you sure you want to delete this link? Are you sure you want to delete this tag? The personal, minimalist, super fast, database-free, bookmarking service by the Shaarli community