Good Evening Esteemed Monks.
My question is fairly simply. I would like to move the cursor back to edit each entry. Please point me in the right direction. I've posted my simple code below to build upon. Thanks in advance!
#!/usr/bin/perl open (FILE, 'data.txt'); while (<FILE>) { chomp; ($name, $email, $phone) = split("\t"); print "Name: $name\n"; print "Email: $email\n"; print "Phone: $phone\n"; print "---------\n"; } close (FILE); exit; __END__ Tom tom@example.com 111-1111 Dave dave@example.com 222-2222 Test test@example.com 333-3333
The output is shown below:
Name: Tom
Email: Tom@example.com
Phone: 111-1111
---------
Name: Dave
Email: dave@example.com
Phone: 222-2222
---------
Name: Test
Email: test@example.com
Phone: 333-3333
---------
In reply to Tab Cursor Backspace by PilotinControl
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |