I'm actually changing some code which was given to me. I did not write that part, but there is a sub class used to define the parse function instead of using the whole module.
I have a file in excel with two columns of hex numbers. I need to change them all to decimals. The code works when I use a specific hex, but when I try to search the field it prints all 15's from first column when they should be 0. The second column is also wrong. Can someone help?!
open...
I have a program in which the user is asked for two numbers. The program then searches a specific csv file and returns the count of the two numbers. The counts then need to be placed in the next two columns of the same file which was searched. The file I am reading in has three colums, about...
Is there something completely wrong with this? I tried modifying it tod o something similar to what I want, but the program exits after I enter the two numbers in the command prompt. Element ID is the first number i would choose, say 37. Reference Element ID would be a second, 29 for example...
No it isn't a homework assignment.
I am having problems with the parse_csv part of the code, though. The command prompt is saying it is an undefined subroutine. I was trying to run and manipulate that code so I completely understood it. Don't I still need to used Text::CSV to use that function?
The only problem with the parse seems to be that it is only telling me where the number is found. I actually need to then retreve the rest of the data in the other columns that are on the same line. There would be two other numbers I would get. I then need to put the two other numbers in...
I am writing a program which reads a file that has three columns in excel. When a user inputs a specific number from column 1, I need to find each instance it occurs and the information in columns 2 and 3 on those same lines. How can I do this?
The basic format:
Proprietary binary data file composed of several header fields of unsigned binary data followed by a list of 2 byte signed data items.
I want to take the data items and convert them into a CSV file.
I am trying to convert a binary file into a CSV file in Perl. I have the binary file saved on my computer and I need to import that into Perl. I then want to convert it to a CSV and save under a new name to be used in a Vector Signal Processor. Does anyone have code to help me with this? I...
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.