> "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
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
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")
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
: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
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
Hello,
I had a problem understanding what the
expression ${1+"$@"} mean? can someone help me in
understanding this?
--
Thanks and Regards,
D.Rajanikanth