Skip to content

Instantly share code, notes, and snippets.

@jberger
Created July 17, 2020 22:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jberger/e27e08f972975ff4980c5723df083a83 to your computer and use it in GitHub Desktop.
Save jberger/e27e08f972975ff4980c5723df083a83 to your computer and use it in GitHub Desktop.
my $x = {
a => 1,
b => 2,
};
$x->{ref}{a} = $x->{a};
$x; # this must be last
use strict;
use warnings;
use Data::Dumper;
my $config = do './conf.pl';
print 'Config is: ' . Dumper($config);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment