Needed to have a programm that would allow me to change the headers of a sql dump.
This is the first draft and far from perfect but does the job.
PHP Code:
#!/usr/bin/perl
use strict;
use Fcntl;
my $line;
my $go = 10;
my $start;
my $end;
if ( $#ARGV + 1 != 1 ) {
print 'Usage: trial.pl new_db_name' . "\n";
exit -1;
}
my $db = $ARGV[0];
open(
...