in reply to modifying records in a delimited text file
In TurnStep's DeleteRecord sub I set $num2delete to the "edit param", which in this case is "edit".open the file ... while(<USERFILE>) { my($A,$B,$C,$D,$E,$F,$G,$H,$I,$J,$K) = split(/\|/); print qq(<TR>); print qq(<TD>$A</TD> <TD>$B</TD> <TD>$C</TD> <TD>$D</TD> <TD>$E</TD> <TD>$F</TD> <TD>$G</TD> <TD>$H</TD> <TD>$I</TD> <TD>$J</TD>); print qq(<TD><INPUT TYPE="radio" NAME="edit" VALUE="$K"> </TD></TR> ); }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
RE: Re: modifying records in a delimited text file
by Fastolfe (Vicar) on Oct 19, 2000 at 00:20 UTC | |
|
RE: Re: modifying records in a delimited text file
by Fastolfe (Vicar) on Oct 19, 2000 at 01:01 UTC |