Thread CGI: tailor an existing programme
(2 answers)
Opened by Crian at 2005-04-04 18:41
You can open a Filehandle before you do your database queries. So you have only one textfile for all three tapes.
Within your loop, you have to print your results to the filehandle without opening a new filehandle! Code: (dl
)
1 open(OUT,">/path/to/file.txt") or die $!; You should also read the documentation of DBI... Use the ?-notation for your queries. This will avoid a lot of errors... OTRS-Erweiterungen (http://feature-addons.de/)
Frankfurt Perlmongers (http://frankfurt.pm/) -- Unterlagen OTRS-Workshop 2012: http://otrs.perl-services.de/workshop.html Perl-Entwicklung: http://perl-services.de/ |