Re: Doubt in understanding

2001-06-08 Thread Randal L. Schwartz
> "Rajanikanth" == Rajanikanth Dandamudi <[EMAIL PROTECTED]> writes: Rajanikanth> Hello, Rajanikanth> I had a problem understanding what the Rajanikanth> expression ${1+"$@"} mean? can someone help me in Rajanikanth> understanding this? That's a very very old shell expression. If $1

Re: Doubt in understanding

2001-06-08 Thread Markus Peter
On Fri, 8 Jun 2001, Rajanikanth Dandamudi wrote: > Hello, > > I had seen some of the perl files starting with the > line : > > eval 'exec perl $0 -S ${1+"$@"}' > >and here is where I got the doubt. MakeMaker usually inserts the line into perl executables when they are installed. On some

Re: Doubt in understanding

2001-06-08 Thread Jean-Matthieu Guerin
hELLO, $@ is a system variable that return error messages. If our statement executed by the eval function (eval 'exec perl $0 -S ${1+"$@"}') contains an error, or an error occurs during the execution of the statement, the error message is stored in $@. I.e: eval ("This is not a perl statement")

Re: Doubt in understanding

2001-06-08 Thread Rajanikanth Dandamudi
Hello, I had seen some of the perl files starting with the line : eval 'exec perl $0 -S ${1+"$@"}' and here is where I got the doubt. -- Thanks and Regards, D.Rajanikanth Jeff Yoak wrote: > At 02:16 PM 6/8/01 +0530, Rajanikanth Dandamudi wrote: > >Hello, > > > > I had a pro

Re: Doubt in understanding

2001-06-08 Thread n6tadam
:22 AM Subject: Re: Doubt in understanding > At 02:16 PM 6/8/01 +0530, Rajanikanth Dandamudi wrote: > >Hello, > > > > I had a problem understanding what the > >expression ${1+"$@"} mean? can someone help me in > >understanding this? > > That&#

Re: Doubt in understanding

2001-06-08 Thread Jeff Yoak
At 02:16 PM 6/8/01 +0530, Rajanikanth Dandamudi wrote: >Hello, > > I had a problem understanding what the >expression ${1+"$@"} mean? can someone help me in >understanding this? That's bizarre. In what context did you encounter it? Cheers, Jeff

Doubt in understanding

2001-06-08 Thread Rajanikanth Dandamudi
Hello, I had a problem understanding what the expression ${1+"$@"} mean? can someone help me in understanding this? -- Thanks and Regards, D.Rajanikanth