i am having problems with breaking a file into several files.
here is my code.
my $source = $ARGV [0];
my $i = 0;
open STDIN, $source or die "Can't read source file $source: $! \n";
while ($line = <STDIN>)
{
$x = substr( $line, 3, 1);
if ($x =~ /^|/){
$y = substr( $line, 18, 13)...