I know how to test for a single occurrence of a hex character but what is the best way to read a file and test and report on characters that don’t fall between x20 and x7e? Is it better,any different and can it be done on testing an ASCII character range (<32 or >126)?
-Chris
Thanks Travis - I did do a very limited search on decompilers and will continue to do some more. Thanks for the idea. The information that I'm seeing is that PerlApp does sometype of encryption of the data which prevents it from being decompiled. Have you seen this statement as well?
Mike -...
Unfortunately, I did not write it or compile it. I have been given the distinct honor of deconstruction a program in which this executable is being called. I assume it is a Perl Script only by the nature that it is being stored in the Perl executables directory. Not one individual on this...
For whatever reason a Perl script has been lost. I have the compiled executable but not the source. Is there a way to reengineer source code from the executable?
-Chris
Miller -
A million thanks. The script is working great and I've been able to use it with very little modifications. I was able to resolve the problem with the ReadOnly and it is working.
I do have a questions about the email subject line as I'm not able to get a more meaningfull message to...
I finally got it to work and it works great. I do have a couple of questions. The variables defined by the "Readonly" did not seem to work. Specifically those defined for the database connection.
# Constants
use Readonly;
Readonly my $DIR_NAME => 'c:/EDI/outbound/ftp';
Readonly my $DB_HOST...
Possible unintended interpolation of @files in string at NAIP_Outbound_FTP.pl line 42.
Possible unintended interpolation of @fields in string at NAIP_Outbound_FTP.pl line 42.
syntax error at NAIP_Outbound_FTP.pl line 42, near "\."
(Might be a runaway multi-line // string starting on line 30)...
I appreciate all the work and words of wisdom. I have spent the weekend reviewing and have been testing. I'm getting errors with regards to the local and global variables that you used. Trying to look at what you coded and documented, I'm getting the following errors:
requires exlicit...
I'm speachless.
I have another thread open regarding the Debugger and was asked by Kevin to post the code. But I just could not bring my self to do it...
Your words kept coming back to me...
"I sometimes dislike seeing other people's code. It calls out to me to refactor. Oh, the...
I am using the perl debugger -d option. I have ActivePerl 5.8.8 loaded.
When executing the debugger a file is being deleted as indicated in the code. When not executed through the debugger the file is not deleted. The code was not altered during the debugger execution.
Does the debugger...
Can anyone tell me why a program would execute one way within the Debugger but would act totally different when directly executed from a command line.
Makes it very hard to debug a program if both executions don't act the same.
Thanks...
Chris
Programming the Perl DBI
Database programming with Perl
By Alligator Descartes & Tim Bunce
1st Edition February 2000
1-56592-699-4, Order Number: 6994
350 pages, $34.95
Thank you everyone for all your help. I think I have figured it out...at least the program is acting the way I want.
FYI:
According to the PERL DBI book Chapter 4, two additional argument can be passes in the connection string (PrintError and RaiseError). The PrintError will signal a...
I included a DBI->trace in the execution of the database connection and I see a warn statement. I don't know if this is causing the program to go into the wrong section of code. But it seem interesting that it exists in the trace.
DBI 1.57-ithread default trace level set to 0x0/2 (pid 3512) at...
I did a cursory search through the forum to see if anyone had post recommendations to training...didn't find any.
Does anyone have any personal experience with any organization that conducts training for Perl?
Thanks...
Chris
Thank you Miller for the “rant”.
The connection to the database works just fine.
I am attempting, as I would hope most programmers would do, would be to make code that works and functions as intended. I’m working for a company that would let a production system go without a backup for over a...
Can anyone tell me if the DBI module in and of itself would issue a “warn” signal before the “die” signal that I coded in the program. I’ve made some changes based on previous suggestions and am now getting the following of both the [COLOR=red]“WARN”[/color red] and the[COLOR=red]“DIE” [/color...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.