- or download this
sub import_file
{
...
handle => $upload->file_handle("upload"),
mime => $upload->mime_type("upload"),
);
- or download this
Error executing run mode 'import_file': $VAR1 = {
'handle' => bless( \*IO::File::_GEN_0, 'IO::File' ),
...
'type' => 'txt',
'mime' => 'text/plain'
};
- or download this
my @foo = ();
while($_ = $file{handle}->getline) { push @foo, $_; }
- or download this
my @foo = ();
while($_ = \*{$file{handle}}->getline) { push @foo, $_; }
- or download this
Error executing run mode 'import_file': Can't call method "getline" wi
+thout a package or object reference
- or download this
die "Weeee!!!!!" if($file{handle}->opened);
- or download this
Error executing run mode 'import_file': Weeee!!!!!
- or download this
my $buffer;
my @results;
...
push (@results, pack("u", $buffer));
}
$fh->close;