Re: What is this doing: eval 'exec /usr/bin/perl -T -w -S $0 ${1+"$@"}' if 0;
From: Jupiterhost.Net (mlists_at_jupiterhost.net)
Date: 08/09/04
- Next message: Silverfox: "File Size Calculator"
- Previous message: Anand V: "Out of Topic :-Any perl training institutes in Bangalore"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Mon, 09 Aug 2004 08:03:25 -0500 To: Jose Alves de Castro <jcastro@telbit.pt>, beginners@perl.org
Jose Alves de Castro wrote:
> On Sun, 2004-08-08 at 04:06, JupiterHost.Net wrote:
>
>>I found this code in a script right after the she-bang line:
>>
>>eval 'exec /usr/bin/perl -T -w -S $0 ${1+"$@"}'
>> if 0; # not running under some shell
>>
>>What is it doing?
>
>
> Hi.
>
> From `perldoc perlrun`, under -S :
Hello Jose,
Right on, you'd think I'd check perldoc first, every now and then I get
dumb ;p
Thanks!
- Next message: Silverfox: "File Size Calculator"
- Previous message: Anand V: "Out of Topic :-Any perl training institutes in Bangalore"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|