in reply to Re^4: While problem
in thread While problem
So you're making some steps forward, that's good. You will help yourself if you always use strict and warnings.
In addition to reading what Corion suggested, take a look at split and read the first sentence. What it returns depends on the calling context. Perl will be very confusing until you really understand what that means. Reading and absorbing Context tutorial should help.
|
|---|