Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re: Assigning Variables to String Elements

by toolic (Bishop)
on Dec 07, 2013 at 00:15 UTC ( [id://1066084]=note: print w/replies, xml ) Need Help??


in reply to Assigning Variables to String Elements

I don't understand why the split function isn't working

Tips #1 and 2 from the Basic debugging checklist

Replies are listed 'Best First'.
Re^2: Assigning Variables to String Elements
by ccelt09 (Sexton) on Dec 07, 2013 at 00:26 UTC

    I have both strict and warnings in my original code, they were omitted to save space. I have also printed the variables, omitted for space as well. This is how I know the split function is not working and that the variables are all being assigned the string length of 4 instead of the elements I wish to assign them.

Log In?
Username:
Password:

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

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

    No recent polls found