Thread Filehandle in die Datenbank
(9 answers)
Opened by Froschpopo at 2007-05-09 11:05
[quote=renee,09.05.2007, 09:25]
Code: (dl
)
my $bin_data = do{ local (@ARGV,$/) = $file; <> }; oder einfach so? my $bin_data = do{ local $/; <$file> }; Always code as if the guy who ends up maintaining your code will be a violent psychopath who knows where you live. -- Damian Conway in "Perl Best Practices"
lesen: ![]() ![]() |