in reply to Re: Re: Re: Re: Re: Re: Re: Modifying Perl script to write to MySQL??
in thread Modifying Perl script to write to MySQL??
Is this what you're referring to and if so, can you please recommend which one of the above I should try using?{ local $/; $content = <HANDLE> } ===== open FILE, "inputfile" or die "Couldn't open file"; $content.=<FILE> close FILE; ===== open FILE, 'inputfile' or die "Could not open file inputfile: $!"; sysread(FILE, my $content, -s FILE); close FILE or die "Could not close file: $!";
|
|---|