Skip to content

Instantly share code, notes, and snippets.

View mrenvoize's full-sized avatar
🏠
Working from home

Martin Renvoize mrenvoize

🏠
Working from home
View GitHub Profile
package Mojo::JSON::Patch;
use Mojo::Base 'Mojo::JSON::Pointer';
use Carp 'croak';
use Mojo::Path;
sub set {
my $self = shift;
my $path = Mojo::Path->new(shift);
my $val = shift;
@mrenvoize
mrenvoize / install-plenv.sh
Created December 9, 2015 12:27 — forked from revmischa/install-plenv.sh
Set up plenv, install perl, cpanm, carton, set up environment
#!/bin/bash
# installs plenv, perl, carton, cpanminus, sets up environment in .bash_profile
# from https://github.com/tokuhirom/plenv#readme
PLENV_PERL_VERSION='5.18.1'
if [[ -n "$PERL_MB_OPT" ]]; then
echo "You must unset your local::lib environment variables first"