diff options
| author | Mark Pulford <mark@kyne.com.au> | 2011-05-10 19:13:47 +0930 |
|---|---|---|
| committer | Mark Pulford <mark@kyne.com.au> | 2011-05-10 19:13:47 +0930 |
| commit | 88fba505797c8c828c3737395b7351da0c9bd8fe (patch) | |
| tree | e970d073497bdcd3f68a0d5a58589bb11012c812 | |
| parent | 935affcbc57a9b4f4941423395acb51a6ea33e64 (diff) | |
| download | lua-cjson-88fba505797c8c828c3737395b7351da0c9bd8fe.tar.gz lua-cjson-88fba505797c8c828c3737395b7351da0c9bd8fe.tar.bz2 lua-cjson-88fba505797c8c828c3737395b7351da0c9bd8fe.zip | |
Add support for perl installs outside of /usr/bin
Change "perl -w" to "use warnings" for compatibility with systems that
put all #! args into argv[1].
Diffstat (limited to '')
| -rwxr-xr-x | tests/genutf8.pl | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/genutf8.pl b/tests/genutf8.pl index 4960663..6a522dd 100755 --- a/tests/genutf8.pl +++ b/tests/genutf8.pl | |||
| @@ -1,8 +1,9 @@ | |||
| 1 | #!/usr/bin/perl -w | 1 | #!/usr/bin/env perl |
| 2 | 2 | ||
| 3 | # Create test comparison data using a different UTF-8 implementation. | 3 | # Create test comparison data using a different UTF-8 implementation. |
| 4 | 4 | ||
| 5 | use strict; | 5 | use strict; |
| 6 | use warnings; | ||
| 6 | use Text::Iconv; | 7 | use Text::Iconv; |
| 7 | use FileHandle; | 8 | use FileHandle; |
| 8 | 9 | ||
