git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH review] Build: make PERL_PATH = /usr/bin/env perl

From
David Christensen <david@endpoint.com>
Date
Jun 2, 2008, 02:17 UTC
Message-ID
<84422837-A45A-4B33-9D25-8053477CD164@endpoint.com>
In-Reply-To
<e06498070806011111w792399dfi9dad780ee00faa8a@mail.gmail.com>
> If you do this, you will have to modify the perl scripts to remove the
> -w flag from their hash-bang line.  "/usr/bin/env perl -w" does not
> seem to do the expected thing.

Insofar as compatibility is concerned, perl's -w flag is equivalent to the 'use warnings' language pragma, which has been supported since 5.6 (circa 2000). Seeing as perl's Unicode support did not really mature until 5.8, I imagine that adding the 'use warnings' pragma and doing away with the -w flag would be a reasonable approach to take.

Regards,

David -- David Christensen End Point Corporation david@endpoint.com

Previous: Steven Walter
Message 7 of 7 in “Build: make PERL_PATH = /usr/bin/env perl”
  1. Build: make PERL_PATH = /usr/bin/env perlMichael Witten, May 31, 2008
  2. Junio C HamanoMay 31, 2008
  3. Michael WittenJun 1, 2008
  4. Matthieu MoyJun 1, 2008
  5. Junio C HamanoJun 1, 2008
  6. Steven WalterJun 1, 2008
  7. David ChristensenJun 2, 2008

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.