- or download this
#!/usr/bin/perl -w
use strict;
- or download this
$addthis=join("", <TEXT>);
- or download this
open (FILES,"files.txt") || die "Could not open file: $! \n";
- or download this
for (<FILES>){
chomp; # each item of the array is placed in $_ for the scope of t
+he for
unless (open (D,$_)){ # no need to wrap the variable in quotes
...
print D $newrecord;
close (D)
}
- or download this
#!/usr/bin/perl -w
use strict;
$someperl=<DATA>;
__DATA__
Some data