From 6d3c9198decf751922409a8ea6ec50318e3dfeb2 Mon Sep 17 00:00:00 2001 From: Mohammad S Anwar Date: Thu, 28 Feb 2019 14:49:32 +0000 Subject: [PATCH] Fixed issue #58 by adding shebang and making script executable. --- categories/cookbook/01strings/01-00introduction.pl | 2 ++ categories/cookbook/01strings/01-01substrings.pl | 2 ++ categories/cookbook/01strings/01-03exchanging-values.pl | 2 ++ categories/cookbook/01strings/01-04converting-values.pl | 2 ++ categories/cookbook/01strings/01-05namedunicode.pl | 2 ++ categories/cookbook/01strings/01-07reversing-strings.pl | 2 ++ categories/cookbook/01strings/01-13upper-lower-case.pl | 2 ++ categories/cookbook/01strings/01-19trim-whitespace.pl | 2 ++ categories/cookbook/01strings/01-22soundex-matching.pl | 2 ++ categories/cookbook/02numbers/02-01valid-number.pl | 2 ++ categories/cookbook/02numbers/02-05-roman-numerals.pl | 2 ++ categories/cookbook/02numbers/02-14complex-number.pl | 2 ++ categories/cookbook/02numbers/02-15convert-bases.pl | 2 ++ categories/cookbook/03dates-and-times/03-01-todays-date.pl | 2 ++ .../cookbook/03dates-and-times/03-02-datetime-to-epoch.pl | 2 ++ .../cookbook/03dates-and-times/03-03-epoch-to-datetime.pl | 2 ++ categories/cookbook/03dates-and-times/03-04-date-add-sub.pl | 2 ++ categories/cookbook/03dates-and-times/03-05-sub-two-dates.pl | 2 ++ categories/cookbook/03dates-and-times/03-06-day-to-num-wmy.pl | 2 ++ .../03dates-and-times/03-07-datetime-parse-from-str.pl.TODO | 2 ++ categories/cookbook/03dates-and-times/03-09-hires-times.pl | 2 ++ .../cookbook/03dates-and-times/03-10-short-sleeps.pl.TODO | 2 ++ .../cookbook/04arrays/04-01specifying-a-list-in-your-program.pl | 2 ++ .../cookbook/04arrays/04-02printing-a-list-with-commas.pl | 2 ++ categories/cookbook/04arrays/04-05iterating-over-an-array.pl | 2 ++ categories/cookbook/05hashes/05-05traversing.pl | 2 ++ categories/cookbook/06pattern-matching/06-01-copy-subst.pl | 2 ++ categories/cookbook/06pattern-matching/06-02-match-letters.pl | 2 ++ categories/cookbook/07file-access/07-01opening_file.pl | 2 ++ categories/cookbook/08file-contents/08-02-count-lines.pl | 2 ++ categories/cookbook/08file-contents/08-03-process-words.pl | 2 ++ .../cookbook/08file-contents/08-04-read-file-lines-backwards.pl | 2 ++ categories/cookbook/09directories/09-01-get-set-filetime.pl | 2 ++ categories/cookbook/09directories/09-02-delete-file.pl | 2 ++ categories/cookbook/09directories/09-03-copy-move-file.pl | 2 ++ categories/cookbook/09directories/09-05-all-files-dir.pl | 2 ++ .../cookbook/09directories/09-06-filenames-matching-pattern.pl | 2 ++ categories/cookbook/09directories/09-07-all-files-process.pl | 2 ++ .../09directories/09-08-remove-directory_contents.pl.TODO | 2 ++ categories/cookbook/09directories/09-10-filename-splitting.pl | 2 ++ categories/cookbook/09directories/09-11-all-files-lazy.pl | 2 ++ categories/cookbook/10subroutines/10-01arguments.pl | 2 ++ .../13classes-objects-and-ties/13-01constructing-an-object.pl | 2 ++ categories/cookbook/14database-access/14-09-dbi-sql.pl | 2 ++ categories/cookbook/15interactivity/15-01-parse-program-args.pl | 2 ++ .../cookbook/15interactivity/15-02-test-interactive-program.pl | 2 ++ categories/cookbook/15interactivity/15-03-clear-screen.pl | 2 ++ .../cookbook/15interactivity/15-04-changing-text-colour.pl | 2 ++ categories/cookbook/15interactivity/15-05-get-char.t | 2 ++ categories/cookbook/16processes/16-01-operation-timeout.pl | 0 categories/cookbook/16processes/16-13-listing-signals.pl | 0 categories/cookbook/16processes/16-14-send-signal.pl | 0 categories/cookbook/16processes/16-18-catch-control-c.pl | 0 categories/cookbook/17sockets/17-01tcp_client.pl | 2 ++ categories/cookbook/17sockets/17-02tcp_server.pl | 2 ++ categories/cookbook/19cgi-programming/19-01cgi-script.pl | 2 ++ categories/cookbook/20web-automation/20-01-fetching-uri.pl | 2 ++ 57 files changed, 106 insertions(+) mode change 100644 => 100755 categories/cookbook/01strings/01-00introduction.pl mode change 100644 => 100755 categories/cookbook/01strings/01-01substrings.pl mode change 100644 => 100755 categories/cookbook/01strings/01-03exchanging-values.pl mode change 100644 => 100755 categories/cookbook/01strings/01-04converting-values.pl mode change 100644 => 100755 categories/cookbook/01strings/01-05namedunicode.pl mode change 100644 => 100755 categories/cookbook/01strings/01-07reversing-strings.pl mode change 100644 => 100755 categories/cookbook/01strings/01-13upper-lower-case.pl mode change 100644 => 100755 categories/cookbook/01strings/01-19trim-whitespace.pl mode change 100644 => 100755 categories/cookbook/01strings/01-22soundex-matching.pl mode change 100644 => 100755 categories/cookbook/02numbers/02-01valid-number.pl mode change 100644 => 100755 categories/cookbook/02numbers/02-05-roman-numerals.pl mode change 100644 => 100755 categories/cookbook/02numbers/02-14complex-number.pl mode change 100644 => 100755 categories/cookbook/02numbers/02-15convert-bases.pl mode change 100644 => 100755 categories/cookbook/03dates-and-times/03-01-todays-date.pl mode change 100644 => 100755 categories/cookbook/03dates-and-times/03-02-datetime-to-epoch.pl mode change 100644 => 100755 categories/cookbook/03dates-and-times/03-03-epoch-to-datetime.pl mode change 100644 => 100755 categories/cookbook/03dates-and-times/03-04-date-add-sub.pl mode change 100644 => 100755 categories/cookbook/03dates-and-times/03-05-sub-two-dates.pl mode change 100644 => 100755 categories/cookbook/03dates-and-times/03-06-day-to-num-wmy.pl mode change 100644 => 100755 categories/cookbook/03dates-and-times/03-09-hires-times.pl mode change 100644 => 100755 categories/cookbook/04arrays/04-01specifying-a-list-in-your-program.pl mode change 100644 => 100755 categories/cookbook/04arrays/04-02printing-a-list-with-commas.pl mode change 100644 => 100755 categories/cookbook/04arrays/04-05iterating-over-an-array.pl mode change 100644 => 100755 categories/cookbook/05hashes/05-05traversing.pl mode change 100644 => 100755 categories/cookbook/06pattern-matching/06-01-copy-subst.pl mode change 100644 => 100755 categories/cookbook/06pattern-matching/06-02-match-letters.pl mode change 100644 => 100755 categories/cookbook/07file-access/07-01opening_file.pl mode change 100644 => 100755 categories/cookbook/08file-contents/08-02-count-lines.pl mode change 100644 => 100755 categories/cookbook/08file-contents/08-03-process-words.pl mode change 100644 => 100755 categories/cookbook/08file-contents/08-04-read-file-lines-backwards.pl mode change 100644 => 100755 categories/cookbook/09directories/09-01-get-set-filetime.pl mode change 100644 => 100755 categories/cookbook/09directories/09-02-delete-file.pl mode change 100644 => 100755 categories/cookbook/09directories/09-03-copy-move-file.pl mode change 100644 => 100755 categories/cookbook/09directories/09-05-all-files-dir.pl mode change 100644 => 100755 categories/cookbook/09directories/09-06-filenames-matching-pattern.pl mode change 100644 => 100755 categories/cookbook/09directories/09-07-all-files-process.pl mode change 100644 => 100755 categories/cookbook/09directories/09-10-filename-splitting.pl mode change 100644 => 100755 categories/cookbook/09directories/09-11-all-files-lazy.pl mode change 100644 => 100755 categories/cookbook/10subroutines/10-01arguments.pl mode change 100644 => 100755 categories/cookbook/13classes-objects-and-ties/13-01constructing-an-object.pl mode change 100644 => 100755 categories/cookbook/14database-access/14-09-dbi-sql.pl mode change 100644 => 100755 categories/cookbook/15interactivity/15-01-parse-program-args.pl mode change 100644 => 100755 categories/cookbook/15interactivity/15-02-test-interactive-program.pl mode change 100644 => 100755 categories/cookbook/15interactivity/15-03-clear-screen.pl mode change 100644 => 100755 categories/cookbook/15interactivity/15-04-changing-text-colour.pl mode change 100644 => 100755 categories/cookbook/16processes/16-01-operation-timeout.pl mode change 100644 => 100755 categories/cookbook/16processes/16-13-listing-signals.pl mode change 100644 => 100755 categories/cookbook/16processes/16-14-send-signal.pl mode change 100644 => 100755 categories/cookbook/16processes/16-18-catch-control-c.pl mode change 100644 => 100755 categories/cookbook/17sockets/17-01tcp_client.pl mode change 100644 => 100755 categories/cookbook/17sockets/17-02tcp_server.pl mode change 100644 => 100755 categories/cookbook/19cgi-programming/19-01cgi-script.pl mode change 100644 => 100755 categories/cookbook/20web-automation/20-01-fetching-uri.pl diff --git a/categories/cookbook/01strings/01-00introduction.pl b/categories/cookbook/01strings/01-00introduction.pl old mode 100644 new mode 100755 index b6f5b6b..33d4f84 --- a/categories/cookbook/01strings/01-00introduction.pl +++ b/categories/cookbook/01strings/01-00introduction.pl @@ -1,3 +1,5 @@ +#!/usr/bin/env perl6 + use v6; =begin pod diff --git a/categories/cookbook/01strings/01-01substrings.pl b/categories/cookbook/01strings/01-01substrings.pl old mode 100644 new mode 100755 index 1d59c00..8725d62 --- a/categories/cookbook/01strings/01-01substrings.pl +++ b/categories/cookbook/01strings/01-01substrings.pl @@ -1,3 +1,5 @@ +#!/usr/bin/env perl6 + use v6; =begin pod diff --git a/categories/cookbook/01strings/01-03exchanging-values.pl b/categories/cookbook/01strings/01-03exchanging-values.pl old mode 100644 new mode 100755 index 03df91f..7328f18 --- a/categories/cookbook/01strings/01-03exchanging-values.pl +++ b/categories/cookbook/01strings/01-03exchanging-values.pl @@ -1,3 +1,5 @@ +#!/usr/bin/env perl6 + use v6; =begin pod diff --git a/categories/cookbook/01strings/01-04converting-values.pl b/categories/cookbook/01strings/01-04converting-values.pl old mode 100644 new mode 100755 index f8a5995..5326b3e --- a/categories/cookbook/01strings/01-04converting-values.pl +++ b/categories/cookbook/01strings/01-04converting-values.pl @@ -1,3 +1,5 @@ +#!/usr/bin/env perl6 + use v6; =begin pod diff --git a/categories/cookbook/01strings/01-05namedunicode.pl b/categories/cookbook/01strings/01-05namedunicode.pl old mode 100644 new mode 100755 index 8fa7a98..f7c6365 --- a/categories/cookbook/01strings/01-05namedunicode.pl +++ b/categories/cookbook/01strings/01-05namedunicode.pl @@ -1,3 +1,5 @@ +#!/usr/bin/env perl6 + use v6; =begin pod diff --git a/categories/cookbook/01strings/01-07reversing-strings.pl b/categories/cookbook/01strings/01-07reversing-strings.pl old mode 100644 new mode 100755 index 8f2bfac..f2eb990 --- a/categories/cookbook/01strings/01-07reversing-strings.pl +++ b/categories/cookbook/01strings/01-07reversing-strings.pl @@ -1,3 +1,5 @@ +#!/usr/bin/env perl6 + use v6; =begin pod diff --git a/categories/cookbook/01strings/01-13upper-lower-case.pl b/categories/cookbook/01strings/01-13upper-lower-case.pl old mode 100644 new mode 100755 index e638ea3..56ef1c5 --- a/categories/cookbook/01strings/01-13upper-lower-case.pl +++ b/categories/cookbook/01strings/01-13upper-lower-case.pl @@ -1,3 +1,5 @@ +#!/usr/bin/env perl6 + use v6; =begin pod diff --git a/categories/cookbook/01strings/01-19trim-whitespace.pl b/categories/cookbook/01strings/01-19trim-whitespace.pl old mode 100644 new mode 100755 index 868017e..1362769 --- a/categories/cookbook/01strings/01-19trim-whitespace.pl +++ b/categories/cookbook/01strings/01-19trim-whitespace.pl @@ -1,3 +1,5 @@ +#!/usr/bin/env perl6 + use v6; =begin pod diff --git a/categories/cookbook/01strings/01-22soundex-matching.pl b/categories/cookbook/01strings/01-22soundex-matching.pl old mode 100644 new mode 100755 index bbb80ff..71c303c --- a/categories/cookbook/01strings/01-22soundex-matching.pl +++ b/categories/cookbook/01strings/01-22soundex-matching.pl @@ -1,3 +1,5 @@ +#!/usr/bin/env perl6 + use v6; =begin pod diff --git a/categories/cookbook/02numbers/02-01valid-number.pl b/categories/cookbook/02numbers/02-01valid-number.pl old mode 100644 new mode 100755 index 6f46467..efd179c --- a/categories/cookbook/02numbers/02-01valid-number.pl +++ b/categories/cookbook/02numbers/02-01valid-number.pl @@ -1,3 +1,5 @@ +#!/usr/bin/env perl6 + use v6; =begin pod diff --git a/categories/cookbook/02numbers/02-05-roman-numerals.pl b/categories/cookbook/02numbers/02-05-roman-numerals.pl old mode 100644 new mode 100755 index 56a80e2..ae377bb --- a/categories/cookbook/02numbers/02-05-roman-numerals.pl +++ b/categories/cookbook/02numbers/02-05-roman-numerals.pl @@ -1,3 +1,5 @@ +#!/usr/bin/env perl6 + use v6; =begin pod diff --git a/categories/cookbook/02numbers/02-14complex-number.pl b/categories/cookbook/02numbers/02-14complex-number.pl old mode 100644 new mode 100755 index 24f5881..d35af5f --- a/categories/cookbook/02numbers/02-14complex-number.pl +++ b/categories/cookbook/02numbers/02-14complex-number.pl @@ -1,3 +1,5 @@ +#!/usr/bin/env perl6 + use v6; =begin pod diff --git a/categories/cookbook/02numbers/02-15convert-bases.pl b/categories/cookbook/02numbers/02-15convert-bases.pl old mode 100644 new mode 100755 index a0127e8..5838390 --- a/categories/cookbook/02numbers/02-15convert-bases.pl +++ b/categories/cookbook/02numbers/02-15convert-bases.pl @@ -1,3 +1,5 @@ +#!/usr/bin/env perl6 + use v6; =begin pod diff --git a/categories/cookbook/03dates-and-times/03-01-todays-date.pl b/categories/cookbook/03dates-and-times/03-01-todays-date.pl old mode 100644 new mode 100755 index 48d6b9f..8e0a1b8 --- a/categories/cookbook/03dates-and-times/03-01-todays-date.pl +++ b/categories/cookbook/03dates-and-times/03-01-todays-date.pl @@ -1,3 +1,5 @@ +#!/usr/bin/env perl6 + use v6; =begin pod diff --git a/categories/cookbook/03dates-and-times/03-02-datetime-to-epoch.pl b/categories/cookbook/03dates-and-times/03-02-datetime-to-epoch.pl old mode 100644 new mode 100755 index 3995541..5791fd7 --- a/categories/cookbook/03dates-and-times/03-02-datetime-to-epoch.pl +++ b/categories/cookbook/03dates-and-times/03-02-datetime-to-epoch.pl @@ -1,3 +1,5 @@ +#!/usr/bin/env perl6 + use v6; =begin pod diff --git a/categories/cookbook/03dates-and-times/03-03-epoch-to-datetime.pl b/categories/cookbook/03dates-and-times/03-03-epoch-to-datetime.pl old mode 100644 new mode 100755 index 7169651..9539d6b --- a/categories/cookbook/03dates-and-times/03-03-epoch-to-datetime.pl +++ b/categories/cookbook/03dates-and-times/03-03-epoch-to-datetime.pl @@ -1,3 +1,5 @@ +#!/usr/bin/env perl6 + use v6; =begin pod diff --git a/categories/cookbook/03dates-and-times/03-04-date-add-sub.pl b/categories/cookbook/03dates-and-times/03-04-date-add-sub.pl old mode 100644 new mode 100755 index e1360a2..6f4c55a --- a/categories/cookbook/03dates-and-times/03-04-date-add-sub.pl +++ b/categories/cookbook/03dates-and-times/03-04-date-add-sub.pl @@ -1,3 +1,5 @@ +#!/usr/bin/env perl6 + use v6; =begin pod diff --git a/categories/cookbook/03dates-and-times/03-05-sub-two-dates.pl b/categories/cookbook/03dates-and-times/03-05-sub-two-dates.pl old mode 100644 new mode 100755 index 855b66d..895f045 --- a/categories/cookbook/03dates-and-times/03-05-sub-two-dates.pl +++ b/categories/cookbook/03dates-and-times/03-05-sub-two-dates.pl @@ -1,3 +1,5 @@ +#!/usr/bin/env perl6 + use v6; =begin pod diff --git a/categories/cookbook/03dates-and-times/03-06-day-to-num-wmy.pl b/categories/cookbook/03dates-and-times/03-06-day-to-num-wmy.pl old mode 100644 new mode 100755 index fcde84d..d2c6f2a --- a/categories/cookbook/03dates-and-times/03-06-day-to-num-wmy.pl +++ b/categories/cookbook/03dates-and-times/03-06-day-to-num-wmy.pl @@ -1,3 +1,5 @@ +#!/usr/bin/env perl6 + use v6; =begin pod diff --git a/categories/cookbook/03dates-and-times/03-07-datetime-parse-from-str.pl.TODO b/categories/cookbook/03dates-and-times/03-07-datetime-parse-from-str.pl.TODO index 817c24c..baa1dc1 100644 --- a/categories/cookbook/03dates-and-times/03-07-datetime-parse-from-str.pl.TODO +++ b/categories/cookbook/03dates-and-times/03-07-datetime-parse-from-str.pl.TODO @@ -1,3 +1,5 @@ +#!/usr/bin/env perl6 + use v6; =begin pod diff --git a/categories/cookbook/03dates-and-times/03-09-hires-times.pl b/categories/cookbook/03dates-and-times/03-09-hires-times.pl old mode 100644 new mode 100755 index 5fe7e0d..1c599d8 --- a/categories/cookbook/03dates-and-times/03-09-hires-times.pl +++ b/categories/cookbook/03dates-and-times/03-09-hires-times.pl @@ -1,3 +1,5 @@ +#!/usr/bin/env perl6 + use v6; =begin pod diff --git a/categories/cookbook/03dates-and-times/03-10-short-sleeps.pl.TODO b/categories/cookbook/03dates-and-times/03-10-short-sleeps.pl.TODO index 82aac90..c024983 100644 --- a/categories/cookbook/03dates-and-times/03-10-short-sleeps.pl.TODO +++ b/categories/cookbook/03dates-and-times/03-10-short-sleeps.pl.TODO @@ -1,3 +1,5 @@ +#!/usr/bin/env perl6 + use v6; =begin pod diff --git a/categories/cookbook/04arrays/04-01specifying-a-list-in-your-program.pl b/categories/cookbook/04arrays/04-01specifying-a-list-in-your-program.pl old mode 100644 new mode 100755 index 6e7df90..0323152 --- a/categories/cookbook/04arrays/04-01specifying-a-list-in-your-program.pl +++ b/categories/cookbook/04arrays/04-01specifying-a-list-in-your-program.pl @@ -1,3 +1,5 @@ +#!/usr/bin/env perl6 + use v6; =begin pod diff --git a/categories/cookbook/04arrays/04-02printing-a-list-with-commas.pl b/categories/cookbook/04arrays/04-02printing-a-list-with-commas.pl old mode 100644 new mode 100755 index af47f1c..6691e31 --- a/categories/cookbook/04arrays/04-02printing-a-list-with-commas.pl +++ b/categories/cookbook/04arrays/04-02printing-a-list-with-commas.pl @@ -1,3 +1,5 @@ +#!/usr/bin/env perl6 + use v6; =begin pod diff --git a/categories/cookbook/04arrays/04-05iterating-over-an-array.pl b/categories/cookbook/04arrays/04-05iterating-over-an-array.pl old mode 100644 new mode 100755 index cfbad14..22936ae --- a/categories/cookbook/04arrays/04-05iterating-over-an-array.pl +++ b/categories/cookbook/04arrays/04-05iterating-over-an-array.pl @@ -1,3 +1,5 @@ +#!/usr/bin/env perl6 + use v6; =begin pod diff --git a/categories/cookbook/05hashes/05-05traversing.pl b/categories/cookbook/05hashes/05-05traversing.pl old mode 100644 new mode 100755 index f3d79ba..39567c6 --- a/categories/cookbook/05hashes/05-05traversing.pl +++ b/categories/cookbook/05hashes/05-05traversing.pl @@ -1,3 +1,5 @@ +#!/usr/bin/env perl6 + use v6; =begin pod diff --git a/categories/cookbook/06pattern-matching/06-01-copy-subst.pl b/categories/cookbook/06pattern-matching/06-01-copy-subst.pl old mode 100644 new mode 100755 index e27ba2e..38ad7b3 --- a/categories/cookbook/06pattern-matching/06-01-copy-subst.pl +++ b/categories/cookbook/06pattern-matching/06-01-copy-subst.pl @@ -1,3 +1,5 @@ +#!/usr/bin/env perl6 + use v6; =begin pod diff --git a/categories/cookbook/06pattern-matching/06-02-match-letters.pl b/categories/cookbook/06pattern-matching/06-02-match-letters.pl old mode 100644 new mode 100755 index 45b0277..3fc9e7e --- a/categories/cookbook/06pattern-matching/06-02-match-letters.pl +++ b/categories/cookbook/06pattern-matching/06-02-match-letters.pl @@ -1,3 +1,5 @@ +#!/usr/bin/env perl6 + use v6; =begin pod diff --git a/categories/cookbook/07file-access/07-01opening_file.pl b/categories/cookbook/07file-access/07-01opening_file.pl old mode 100644 new mode 100755 index 9a8ae79..767e1b2 --- a/categories/cookbook/07file-access/07-01opening_file.pl +++ b/categories/cookbook/07file-access/07-01opening_file.pl @@ -1,3 +1,5 @@ +#!/usr/bin/env perl6 + use v6; =begin pod diff --git a/categories/cookbook/08file-contents/08-02-count-lines.pl b/categories/cookbook/08file-contents/08-02-count-lines.pl old mode 100644 new mode 100755 index 8aa119a..a2d7f84 --- a/categories/cookbook/08file-contents/08-02-count-lines.pl +++ b/categories/cookbook/08file-contents/08-02-count-lines.pl @@ -1,3 +1,5 @@ +#!/usr/bin/env perl6 + use v6; =begin pod diff --git a/categories/cookbook/08file-contents/08-03-process-words.pl b/categories/cookbook/08file-contents/08-03-process-words.pl old mode 100644 new mode 100755 index f236b9d..39db007 --- a/categories/cookbook/08file-contents/08-03-process-words.pl +++ b/categories/cookbook/08file-contents/08-03-process-words.pl @@ -1,3 +1,5 @@ +#!/usr/bin/env perl6 + use v6; =begin pod diff --git a/categories/cookbook/08file-contents/08-04-read-file-lines-backwards.pl b/categories/cookbook/08file-contents/08-04-read-file-lines-backwards.pl old mode 100644 new mode 100755 index 72daf03..47724d4 --- a/categories/cookbook/08file-contents/08-04-read-file-lines-backwards.pl +++ b/categories/cookbook/08file-contents/08-04-read-file-lines-backwards.pl @@ -1,3 +1,5 @@ +#!/usr/bin/env perl6 + use v6; =begin pod diff --git a/categories/cookbook/09directories/09-01-get-set-filetime.pl b/categories/cookbook/09directories/09-01-get-set-filetime.pl old mode 100644 new mode 100755 index a2abfc9..fe3b6fe --- a/categories/cookbook/09directories/09-01-get-set-filetime.pl +++ b/categories/cookbook/09directories/09-01-get-set-filetime.pl @@ -1,3 +1,5 @@ +#!/usr/bin/env perl6 + use v6; =begin pod diff --git a/categories/cookbook/09directories/09-02-delete-file.pl b/categories/cookbook/09directories/09-02-delete-file.pl old mode 100644 new mode 100755 index 58499f2..af20d84 --- a/categories/cookbook/09directories/09-02-delete-file.pl +++ b/categories/cookbook/09directories/09-02-delete-file.pl @@ -1,3 +1,5 @@ +#!/usr/bin/env perl6 + use v6; =begin pod diff --git a/categories/cookbook/09directories/09-03-copy-move-file.pl b/categories/cookbook/09directories/09-03-copy-move-file.pl old mode 100644 new mode 100755 index f0daf76..b11d98b --- a/categories/cookbook/09directories/09-03-copy-move-file.pl +++ b/categories/cookbook/09directories/09-03-copy-move-file.pl @@ -1,3 +1,5 @@ +#!/usr/bin/env perl6 + use v6; =begin pod diff --git a/categories/cookbook/09directories/09-05-all-files-dir.pl b/categories/cookbook/09directories/09-05-all-files-dir.pl old mode 100644 new mode 100755 index 9c75296..31c1ece --- a/categories/cookbook/09directories/09-05-all-files-dir.pl +++ b/categories/cookbook/09directories/09-05-all-files-dir.pl @@ -1,3 +1,5 @@ +#!/usr/bin/env perl6 + use v6; =begin pod diff --git a/categories/cookbook/09directories/09-06-filenames-matching-pattern.pl b/categories/cookbook/09directories/09-06-filenames-matching-pattern.pl old mode 100644 new mode 100755 index 8f3dbd5..d3ff243 --- a/categories/cookbook/09directories/09-06-filenames-matching-pattern.pl +++ b/categories/cookbook/09directories/09-06-filenames-matching-pattern.pl @@ -1,3 +1,5 @@ +#!/usr/bin/env perl6 + use v6; =begin pod diff --git a/categories/cookbook/09directories/09-07-all-files-process.pl b/categories/cookbook/09directories/09-07-all-files-process.pl old mode 100644 new mode 100755 index 0b75162..4d1ae2d --- a/categories/cookbook/09directories/09-07-all-files-process.pl +++ b/categories/cookbook/09directories/09-07-all-files-process.pl @@ -1,3 +1,5 @@ +#!/usr/bin/env perl6 + use v6; =begin pod diff --git a/categories/cookbook/09directories/09-08-remove-directory_contents.pl.TODO b/categories/cookbook/09directories/09-08-remove-directory_contents.pl.TODO index f585220..d200273 100644 --- a/categories/cookbook/09directories/09-08-remove-directory_contents.pl.TODO +++ b/categories/cookbook/09directories/09-08-remove-directory_contents.pl.TODO @@ -1,3 +1,5 @@ +#!/usr/bin/env perl6 + use v6; =begin pod diff --git a/categories/cookbook/09directories/09-10-filename-splitting.pl b/categories/cookbook/09directories/09-10-filename-splitting.pl old mode 100644 new mode 100755 index f8204b8..911e4f7 --- a/categories/cookbook/09directories/09-10-filename-splitting.pl +++ b/categories/cookbook/09directories/09-10-filename-splitting.pl @@ -1,3 +1,5 @@ +#!/usr/bin/env perl6 + use v6; =begin pod diff --git a/categories/cookbook/09directories/09-11-all-files-lazy.pl b/categories/cookbook/09directories/09-11-all-files-lazy.pl old mode 100644 new mode 100755 index e543165..3f9e832 --- a/categories/cookbook/09directories/09-11-all-files-lazy.pl +++ b/categories/cookbook/09directories/09-11-all-files-lazy.pl @@ -1,3 +1,5 @@ +#!/usr/bin/env perl6 + use v6; =begin pod diff --git a/categories/cookbook/10subroutines/10-01arguments.pl b/categories/cookbook/10subroutines/10-01arguments.pl old mode 100644 new mode 100755 index 7279f64..de78449 --- a/categories/cookbook/10subroutines/10-01arguments.pl +++ b/categories/cookbook/10subroutines/10-01arguments.pl @@ -1,3 +1,5 @@ +#!/usr/bin/env perl6 + use v6; =begin pod diff --git a/categories/cookbook/13classes-objects-and-ties/13-01constructing-an-object.pl b/categories/cookbook/13classes-objects-and-ties/13-01constructing-an-object.pl old mode 100644 new mode 100755 index c88cdda..aa6f6cd --- a/categories/cookbook/13classes-objects-and-ties/13-01constructing-an-object.pl +++ b/categories/cookbook/13classes-objects-and-ties/13-01constructing-an-object.pl @@ -1,3 +1,5 @@ +#!/usr/bin/env perl6 + use v6; =begin pod diff --git a/categories/cookbook/14database-access/14-09-dbi-sql.pl b/categories/cookbook/14database-access/14-09-dbi-sql.pl old mode 100644 new mode 100755 index 897a923..e3ce600 --- a/categories/cookbook/14database-access/14-09-dbi-sql.pl +++ b/categories/cookbook/14database-access/14-09-dbi-sql.pl @@ -1,3 +1,5 @@ +#!/usr/bin/env perl6 + use v6; =begin pod diff --git a/categories/cookbook/15interactivity/15-01-parse-program-args.pl b/categories/cookbook/15interactivity/15-01-parse-program-args.pl old mode 100644 new mode 100755 index 88ad621..49e7449 --- a/categories/cookbook/15interactivity/15-01-parse-program-args.pl +++ b/categories/cookbook/15interactivity/15-01-parse-program-args.pl @@ -1,3 +1,5 @@ +#!/usr/bin/env perl6 + use v6; =begin pod diff --git a/categories/cookbook/15interactivity/15-02-test-interactive-program.pl b/categories/cookbook/15interactivity/15-02-test-interactive-program.pl old mode 100644 new mode 100755 index 4f95a18..b4169d8 --- a/categories/cookbook/15interactivity/15-02-test-interactive-program.pl +++ b/categories/cookbook/15interactivity/15-02-test-interactive-program.pl @@ -1,3 +1,5 @@ +#!/usr/bin/env perl6 + use v6; =begin pod diff --git a/categories/cookbook/15interactivity/15-03-clear-screen.pl b/categories/cookbook/15interactivity/15-03-clear-screen.pl old mode 100644 new mode 100755 index 0e242b7..74af288 --- a/categories/cookbook/15interactivity/15-03-clear-screen.pl +++ b/categories/cookbook/15interactivity/15-03-clear-screen.pl @@ -1,3 +1,5 @@ +#!/usr/bin/env perl6 + use v6; =begin pod diff --git a/categories/cookbook/15interactivity/15-04-changing-text-colour.pl b/categories/cookbook/15interactivity/15-04-changing-text-colour.pl old mode 100644 new mode 100755 index f7192ee..f2790c1 --- a/categories/cookbook/15interactivity/15-04-changing-text-colour.pl +++ b/categories/cookbook/15interactivity/15-04-changing-text-colour.pl @@ -1,3 +1,5 @@ +#!/usr/bin/env perl6 + use v6; =begin pod diff --git a/categories/cookbook/15interactivity/15-05-get-char.t b/categories/cookbook/15interactivity/15-05-get-char.t index f0a6708..0ce7df8 100644 --- a/categories/cookbook/15interactivity/15-05-get-char.t +++ b/categories/cookbook/15interactivity/15-05-get-char.t @@ -1,3 +1,5 @@ +#!/usr/bin/env perl6 + use v6; =begin pod diff --git a/categories/cookbook/16processes/16-01-operation-timeout.pl b/categories/cookbook/16processes/16-01-operation-timeout.pl old mode 100644 new mode 100755 diff --git a/categories/cookbook/16processes/16-13-listing-signals.pl b/categories/cookbook/16processes/16-13-listing-signals.pl old mode 100644 new mode 100755 diff --git a/categories/cookbook/16processes/16-14-send-signal.pl b/categories/cookbook/16processes/16-14-send-signal.pl old mode 100644 new mode 100755 diff --git a/categories/cookbook/16processes/16-18-catch-control-c.pl b/categories/cookbook/16processes/16-18-catch-control-c.pl old mode 100644 new mode 100755 diff --git a/categories/cookbook/17sockets/17-01tcp_client.pl b/categories/cookbook/17sockets/17-01tcp_client.pl old mode 100644 new mode 100755 index 37c7407..62d6fff --- a/categories/cookbook/17sockets/17-01tcp_client.pl +++ b/categories/cookbook/17sockets/17-01tcp_client.pl @@ -1,3 +1,5 @@ +#!/usr/bin/env perl6 + use v6; =begin pod diff --git a/categories/cookbook/17sockets/17-02tcp_server.pl b/categories/cookbook/17sockets/17-02tcp_server.pl old mode 100644 new mode 100755 index 402a591..1878f10 --- a/categories/cookbook/17sockets/17-02tcp_server.pl +++ b/categories/cookbook/17sockets/17-02tcp_server.pl @@ -1,3 +1,5 @@ +#!/usr/bin/env perl6 + use v6; =begin pod diff --git a/categories/cookbook/19cgi-programming/19-01cgi-script.pl b/categories/cookbook/19cgi-programming/19-01cgi-script.pl old mode 100644 new mode 100755 index 31a298d..98c5cd1 --- a/categories/cookbook/19cgi-programming/19-01cgi-script.pl +++ b/categories/cookbook/19cgi-programming/19-01cgi-script.pl @@ -1,3 +1,5 @@ +#!/usr/bin/env perl6 + use v6; =begin pod diff --git a/categories/cookbook/20web-automation/20-01-fetching-uri.pl b/categories/cookbook/20web-automation/20-01-fetching-uri.pl old mode 100644 new mode 100755 index bf891bf..64fc346 --- a/categories/cookbook/20web-automation/20-01-fetching-uri.pl +++ b/categories/cookbook/20web-automation/20-01-fetching-uri.pl @@ -1,3 +1,5 @@ +#!/usr/bin/env perl6 + use v6; =begin pod