|
|
sybperl-l Archive
Up Prev Next
From: "Scott Zetlan" <scottzetlan at aol dot com>
Subject: RE: Error in the script
Date: Jan 7 2002 8:00PM
Missing '$' on that line:
> $dtdy = in{"dtdy"};
Should read:
$dtdy = $in{"dtdy"};
Or else Perl will think you mean to call a function named 'in'.
> -----Original Message-----
> From: owner-SYBPERL-L@list.cren.net
> [mailto:owner-SYBPERL-L@list.cren.net]On Behalf Of Sabherwal, Balvinder
> (MBS)
> Sent: Monday, January 07, 2002 2:57 PM
> To: SybPerl Discussion List
> Subject: Error in the script
>
>
> I am getting an error as below :
>
> Can't locate object method "in" via package "dtdy" at sysmon.cgi line 22,
> chunk 22.
> DB::fake::(C:\Perl\lib/perl5db.pl:2084):
>
> the line causing the error is
>
> $dtdy = in{"dtdy"};
>
> I am initialising the variable here. just above this line I have a another
> variable getting initialised as
>
> $app = $in{"app"};
> $yr = $in{"yr"};
>
> any ideas as what could be causing this.
>
> Thanks
> Bal.
>
>
|