Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re: Re: Re: Re: Re: Float values from MS SQL Server.

by Marcello (Hermit)
on Mar 04, 2004 at 12:57 UTC ( #333839=note: print w/replies, xml ) Need Help??


in reply to Re: Re: Re: Re: Float values from MS SQL Server.
in thread Float values from MS SQL Server.

Hi,

Your problem is a scoping issues. You declare the variables as my variables in the while loop. After this loop, the variables will be gone. The solution is to declare these variables above the while loop.

ALWAYS put use strict; use warnings; at the top of your Perl programs.

Regards,

Marcel

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://333839]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (9)
As of 2020-05-26 13:42 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    If programming languages were movie genres, Perl would be:















    Results (150 votes). Check out past polls.

    Notices?