File::Slurp - mein Lieblingsmodul
Roland Bauer
roland.bauer at fff.at
Thu Nov 25 17:02:35 CST 1999
* * * vienna-pm-list * * *
Spart zwar nur wenige Zeilen Code, aber ich mag es!
Dieses Modul kann man sich von CPAN herunterladen.
#!/usr/bin/perl
use strict;
use File::Slurp;
# File einlesen
my $text = read_file "meinfile.txt";
# Text auf File schreiben
write_file "ausgabe.txt", $text;
P.S.: Hallo Marcel, willst Du Deine Alternative vorstellen?
;-)
--
roland.bauer at fff.at job: roland.bauer at mediaprint.at
http://www.fff.at/fff/roland/ tel: +43-1-36000/3949
###
You are subscribed to vienna-pm-list
http://www.fff.at/fff/vienna.pm/
More information about the Vienna-pm
mailing list