Re: help please with perl
From: J.O. Aho (user_at_example.net)
Date: 04/04/05
- Next message: J.O. Aho: "Re: Question TAR"
- Previous message: Robert Newson: "Re: How do I pipe tiff2ps output into ps2pdf?"
- In reply to: noi: "Re: help please with perl"
- Next in thread: noi: "Re: help please with perl"
- Reply: noi: "Re: help please with perl"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Mon, 04 Apr 2005 21:29:45 +0200
noi wrote:
> On Mon, 04 Apr 2005 06:34:32 +0200, J.O. Aho thoughtfully wrote:
>
>
>>JDS wrote:
>>
>>>On Sun, 03 Apr 2005 09:43:32 +0200, J.O. Aho wrote:
>>>
>>>
>>>
>>>>The first line is wrong, it should be #!/usr/bin/perl
>>>
>>>
>>>Or, maybe, get rid of the first line entirely and run "perl
>>>program_name"
>>
>>This would be quite bad solution if you have a script you want to use
>>ofthen.
>
>
> What difference does it make? After fixing his syntax error the OP is
> still executing perl on the "Hello World" program.
Would you want to use "exec pan" each time you want to check the newsgroups or
you rather just use "pan"?
It's higher risk for misspellings the more you have to write, you need to keep
track of paths. Scripts you use often you want to use easilly.
//Aho
- Next message: J.O. Aho: "Re: Question TAR"
- Previous message: Robert Newson: "Re: How do I pipe tiff2ps output into ps2pdf?"
- In reply to: noi: "Re: help please with perl"
- Next in thread: noi: "Re: help please with perl"
- Reply: noi: "Re: help please with perl"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|