troubleshooting Question

Modifying a perl script

Avatar of StephenMcGowan
StephenMcGowan asked on
Perl
6 Comments1 Solution597 ViewsLast Modified:
Hi there,

I'm trying to modify an existing perl script as the one of the text files it uses has been modified.

The original script uses SpeciesId.txt, a file in the following format:

African Elephant

B = 1453.7
C = 1577.8
D = 2115.1
E = 2808.4
F = 2853.5 AND 2869.5
G = 2999.4 AND 3015.4

Indian Elephant

B = 1453.7
C = 1577.8
D = 2115.1
E = 2808.4
F = 2853.5 AND 2869.5
G = 2999.4 AND 3015.4

However, I'd like it to use SpeciesID3.txt

A file in the following format (basically no letters [A =, B = etc] ano no "AND" instances):

African Elephant

826.4
836.4
840.4
852.4
858.4
886.4
892.5
898.5
904.5
920.5
950.5
1001.5
1015.5
etc....

Alpaca

785.4
809.4
836.4
837.4
840.5
841.4
852.4
853.4
868.5
869.4
886.4
892.5
898.5
899.5
908.5
etc....

Would this be an easy modification to make to the existing script (Script.txt)?

Thanks,

Stephen.
SpeciesId.txt
SpeciesId3.txt
Script.txt
Join the community to see this answer!
Join our exclusive community to see this answer & millions of others.
Unlock 1 Answer and 6 Comments.
Join the Community
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 6 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros