Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
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 (Cardinal) 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 browsing the Monastery: (4)
As of 2020-08-10 06:46 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Which rocket would you take to Mars?










    Results (56 votes). Check out past polls.

    Notices?