Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re^3: Find element in array

by tobyink (Canon)
on Feb 17, 2020 at 13:58 UTC ( #11113048=note: print w/replies, xml ) Need Help??


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

Take a look at that warning message:

Sequence 'TAAGAACAATAAUAACAA' in line 2 has invalid character after 12 + at parse_dna.pl line 7, <DATA> line 2. ^^^^^^ + ^^^^^^

The warn function already includes $. in its output, unless your message ends in "\n".

Replies are listed 'Best First'.
Re^4: Find element in array
by LanX (Archbishop) on Feb 17, 2020 at 14:42 UTC
    > The warn function already includes $.

    I've been aware of this, but how can we know if the OP will use warn for logging or doesn't prefer to push the line-numbers in an array?

    Cheers Rolf
    (addicted to the Perl Programming Language :)
    Wikisyntax for the Monastery

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (7)
As of 2020-06-01 20:15 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you really want to know if there is extraterrestrial life?



    Results (10 votes). Check out past polls.

    Notices?