Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re: uninitialized split value

by Anonymous Monk
on Oct 17, 2011 at 14:03 UTC ( [id://931927]=note: print w/replies, xml ) Need Help??


in reply to uninitialized split value

use diagnostics/ splain, (W uninitialized)

Basically, you're treating $seqres, $line, and all the substrings you create , as if they're defined

Something else that is peculiar, you're calling stripspaces on a single character, is that what you want?

And also that tertiary syntax usage seems very bizzare

$ perl -MO=Deparse,-p $record_types{'HELIX'} ? my %helix = get_helix($record_types{'HELIX'}) + : (); __END__ ($record_types{'HELIX'} ? (my(%helix) = get_helix($record_types{'HELIX +'})) : ());
easier written as $record_types{'HELIX'}  and my %helix = get_helix($record_types{'HELIX'} );

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others having an uproarious good time at the Monastery: (4)
As of 2024-04-25 10:20 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found