Hi All,
Thank you for your help.
It works!!
When I remove last line from sub gatherCelMetadata... (below I have pasted
working gatherCelMetadata)
I dont understand why is that.
Maybe you can answer this question.
Thank you.
tj
sub gatherCelMetadata{
my $self = shift;
$self->plugin('RenderFile');
my $workbookWrite = Excel::Writer::XLSX->new( 'celFileMetadata.xlsx' );
my $worksheetWrite = $workbookWrite->add_worksheet();
...
for my $token ( @fields ) {
$worksheetWrite->write( $row, $col, $token );
}
....
$self->render_file(filepath =>
'/home/test/tmp/my_app/celFileMetadata.xlsx', 'filename' =>
'celFileMetadata.xlsx' );
# $self->redirect_to('/');
}
--
You received this message because you are subscribed to the Google Groups
"Mojolicious" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/mojolicious.
For more options, visit https://groups.google.com/d/optout.