Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
Ok that I been trying this for a while, can't seem to get it. Ok after I get all taht in a while loop, say I edit @numb and I want to put it back into @file by the $storeline.sub settings_smi_edit { $storeline = $q->param('id'); open(FILE, "info/smileset.txt"); @file = <FILE>; close(FILE); foreach $i (@file) { ($number, $image, $name, $text, $used) = split(/\|/, $i); if ($number eq $storeline) { @numb = ($number, $image, $name, $text, $used); } } }
Edit kudra, 2002-06-10 Changed title
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Help
by Zaxo (Archbishop) on Jun 10, 2002 at 05:05 UTC | |
|
Re: Help
by Anonymous Monk on Jun 10, 2002 at 05:22 UTC | |
by crazyinsomniac (Prior) on Jun 10, 2002 at 05:45 UTC | |
|
Re: Help
by Anonymous Monk on Jun 10, 2002 at 05:46 UTC |