![]() |
|
Perl Monk, Perl Meditation | |
PerlMonks |
Re^2: Increaing a field size for a recordby Thomas Kennll (Acolyte) |
on Oct 16, 2012 at 19:27 UTC ( #999408=note: print w/replies, xml ) | Need Help?? |
Thanks!!
But this doesn't seam to be working for me. :(
#!/usr/bin/perl
open FILE, rij1.dat";
my @lines = <FILE>;
foreach my $lin (@lines)
{
my $btw = substr($lin, 15, 0, "1" x 39);
print "$btw";
}
close FILE;
In Section
Seekers of Perl Wisdom
|
|