Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re: Only last record is written to the output file instead of all records

by poolpi (Hermit)
on Nov 17, 2008 at 15:35 UTC ( [id://724065]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl 
    use strict;
    ...
    
    # or save it in a file
    $dbh->func( 'people', 'HTMLtable', '/home/user/mytab1.html', 'ad_expor
    +t' );
    
  2. or download this
    OUTPUT:
    <table bgcolor="white" border="1">
    ...
      <tr><td>Stella</td></tr>
      <tr><td>Katherine</td></tr>
    </table>
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://724065]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others exploiting the Monastery: (3)
As of 2024-04-19 22:54 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found