Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re^3: Find element in array

by tobyink (Canon)
on Feb 17, 2020 at 13:58 UTC ( [id://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 (Saint) 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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://11113048]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others perusing the Monastery: (3)
As of 2024-04-25 17:54 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found