Perl / Database
Can you please tell me how to write a command line tool to read the name of a table and the name of a column in that table from the user. Then to print out the values in that column to the user. Note that $myvar = <STDIN>; reads a single line of text from the user.What built in classes should be used and what would they do?. it doesnt matter if all the perl syntax is not remembered, as i just need a general idea of how to do it.
Thanx
Can you please tell me how to write a command line tool to read the name of a table and the name of a column in that table from the user. Then to print out the values in that column to the user. Note that $myvar = <STDIN>; reads a single line of text from the user.What built in classes should be used and what would they do?. it doesnt matter if all the perl syntax is not remembered, as i just need a general idea of how to do it.
Thanx