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??

OK - looking around on the Web, I've found three "content->scalar" equations:
{ 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: $!";
Is this what you're referring to and if so, can you please recommend which one of the above I should try using?

Thanks again,

-Bob
  • Comment on Re: Re: Re: Re: Re: Re: Re: Re: Modifying Perl script to write to MySQL??
  • Download Code