Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. campbellc

    Hex Character Range Chect and Report

    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
  2. campbellc

    Resurrect the dead

    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 -...
  3. campbellc

    Resurrect the dead

    Thanks Travis. I made the modification and ran it...ran for a long time but no output was generated.
  4. campbellc

    Resurrect the dead

    I copied the file. Renamed the .exe to .zip and tried to unzip. It did not work.
  5. campbellc

    Resurrect the dead

    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...
  6. campbellc

    Resurrect the dead

    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
  7. campbellc

    Read file and change delimiter

    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...
  8. campbellc

    Read file and change delimiter

    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...
  9. campbellc

    Read file and change delimiter

    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)...
  10. campbellc

    Read file and change delimiter

    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...
  11. campbellc

    Read file and change delimiter

    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...
  12. campbellc

    Perl Debugger

    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...
  13. campbellc

    Perl 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
  14. campbellc

    Database connection

    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
  15. campbellc

    Database connection

    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...
  16. campbellc

    Database connection

    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...
  17. campbellc

    Recommendation on Training Courses

    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
  18. campbellc

    Database connection

    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...
  19. campbellc

    Database connection

    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...
  20. campbellc

    Database connection

    sub WARN_handler { print STDOUT "Inside the warn handler\n"; my($signal) = @_; warnToLogfile("WARN: $signal"); return(); } sub DIE_handler { print STDOUT "Inside the die handler\n"; my($signal) = @_; sendToLogfile("DIE: $signal"); exit(); } sub warnToLogfile { print...

Part and Inventory Search

Back
Top