Michael Peppler
Sybase Consulting
Sybase on Linux
Install Guide for Sybase on Linux
General Sybase Resources
General Perl Resources
BCP Tool
Bug Tracker
Mailing List Archive
Downloads Directory
Sybase on Linux FAQ
Sybperl FAQ
Michael Peppler's resume

sybperl-l Archive

Up    Prev    Next    

From: "Sabherwal, Balvinder (MBS)" <Balvinder dot Sabherwal at mortgagefamily dot com>
Subject: RE: Error in the script
Date: Jan 7 2002 8:16PM

Thanks!! Its easy to miss small things out at times and wonder what's wrong.
I looked over the statement almost 10 time and could not see the missing $.

Thanks for pointing out the error again.

-----Original Message-----
From: Scott Zetlan []
Sent: Monday, January 07, 2002 3:01 PM
To: SybPerl Discussion List
Subject: RE: Error in the script

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:
> []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/
> 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.