Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic

Re^2: Find element in array

by Sofie (Acolyte)
on Feb 16, 2020 at 13:22 UTC ( #11113023=note: print w/replies, xml ) Need Help??

in reply to Re: Find element in array
in thread Find element in array

Thanks for your quick reply. I still don't get it to work, sorry I am really a beginner at this. The ultimate goal is to print out all the positions in the original array @DNA that has an invalid character. And then to count the number of characters that are invalid. How is the if statement looking or the invalid characters? How can I use the $-[0] to find the position of the invalid characters? Thanks again

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://11113023]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (3)
As of 2020-04-08 22:53 GMT
Find Nodes?
    Voting Booth?
    The most amusing oxymoron is:

    Results (46 votes). Check out past polls.