Leser: 1
![]() |
![]() |
10 Einträge, 1 Seite |
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!perl
#perl write test 2
use diagnostics;
use strict;
use warnings;
# creating the txt file
my $data_file = 'h:\\data.txt';
open example, "$data_file" or die "can't open $data_file $!";
#write to the file
while ($data_file){
print " test ";
}
close (example);
Quote# creating the txt file
my $data_file = 'h:\\data.txt';
1
2
3
4
5
6
open example, "$data_file" or die "can't open $data_file $!";
#write to the file
while ($data_file){
print " test ";
}
close (example);
open(my $fh,'>',$data_file) or die $!;
open(my $fh,'<',$data_file) or die $!;
print $fh " test "
![]() |
![]() |
10 Einträge, 1 Seite |