
FishMonger
Veteran
Mar 17, 2010, 5:35 AM
Views: 6381
|
|
Re: [mohsenalizadeh] problem with select quary when I convert program to .exe file
|
|
|
Please use the code tags, they will retain the code formatting which makes it much earier fur us to read your code. Start by adding these 2 pragmas, which should be in every Perl script you write.
use strict; use warnings; Change all 'our' declarations to 'my' declarations. The strict pragma will point out other vars that need to be declared. Add this to the DBI connect statement. I am not familiar with the cava packager. Did you receive any errors or warnings when you created the exe? Have you tried building the exe with PAR::Packer? http://search.cpan.org/~smueller/PAR-Packer-1.002/lib/PAR/Packer.pm
(This post was edited by FishMonger on Mar 17, 2010, 5:36 AM)
|