Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

database printing

Status
Not open for further replies.

Guest_imported

New member
Jan 1, 1970
0
0
0
hey<br>i want to do this:<br>open $database<br>then write a NEW line to itat the bottom<br>then close it for next time
 
please provide more information on your question like what type of output u want? what database are u using? <p>ttest<br><a href=mailto: > </a><br><a href= > </a><br>:) happy programming :)
 
Try the DBI module.&nbsp;&nbsp;Look up the perldocs on it to learn how to use it.&nbsp;&nbsp;If it's not installed, you can get it from CPAN. (perl -MCPAN -eshell, install DBI)<br><br>If you only want to perform read/write operations and don't care about performing selects and other relations, then you can simply write it to a text file.<br><br>Sincerely,<br><br>Tom Anderson<br>CEO, Order amid Chaos, Inc.<br><A HREF=" TARGET="_new">
 
are we talking flat files here? Large RDBMS (oracle, informix,???)?&nbsp;&nbsp;MySQL, SQL Server???&nbsp;&nbsp;What OS??? <p> <br><a href=mailto: > </a><br><a href= > </a><br> keep the rudder amid ship and beware the odd typo
 
if your database is a perl written database (.pag) try
dmbopen(%main,'main',0666); #to open the database file
#&quot;main&quot; being the database
dmbclose(%main); #to close the database file
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top