in reply to •Re: Handy dandy CPAN pollution
in thread Handy dandy CPAN pollution

Nice one.. though the following meme is pretty cute: #!/bin/echo This is a perl module and should not be run

Makeshifts last the longest.

Replies are listed 'Best First'.
•Re: Re^2: Handy dandy CPAN pollution
by merlyn (Sage) on Dec 26, 2002 at 18:29 UTC
    Interesting. Takes advantage of a recent change to hash-bang. In the original hash-bang implementation, you'd see only "This {filename}", because hash-bang took only one argument, then put the filename after it.

    So there are definitely places where this hack will not work. Do not consider it portable to all places that support hash-bang, let alone those that don't!

    -- Randal L. Schwartz, Perl hacker
    Be sure to read my standard disclaimer if this is a reply.