From 29041e5720ebd4069890e570f3f97832ee00572c Mon Sep 17 00:00:00 2001 From: Paul Cochrane Date: Thu, 10 Sep 2015 16:52:11 +0200 Subject: [PATCH 1/2] Ignore DistZilla's .build directory --- .gitignore | 1 + 1 file changed, 1 insertion(+) diff --git a/.gitignore b/.gitignore index 09368e38..8e152f93 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ +.build .tidyall.d Mason-* NOTES From 14d81f0b3b8223b660ffa851ee783f17ee590534 Mon Sep 17 00:00:00 2001 From: Paul Cochrane Date: Thu, 10 Sep 2015 16:52:55 +0200 Subject: [PATCH 2/2] Use more general shebang in simple usage example Specifying `/usr/local/bin/perl` was too specific; by using `/usr/bin/env` one can how use the `perl` in one's path. --- lib/Mason.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Mason.pm b/lib/Mason.pm index aa754f21..0dc97176 100644 --- a/lib/Mason.pm +++ b/lib/Mason.pm @@ -56,7 +56,7 @@ Mason - Powerful, high-performance templating for the web and beyond % my $name = "Mason"; Hello world! Welcome to <% $name %>. - #!/usr/local/bin/perl + #!/usr/bin/env perl use Mason; my $mason = Mason->new(comp_root => '...'); print $mason->run('/foo')->output;