por creating021 » 2006-12-18 17:28 @769
Y para escribir puedes usar Win32::OLE =>
Using perl Syntax Highlighting
#!/usr/bin/env perl
use strict
;
use Cwd
;
use Win32
::OLE;
my $application = Win32
::OLE->new("Exec.Application");
my $workbook = $application->Workbboks->Add;
my $worksheet = $orkbook->Worksheets(1
);
$worksheet->Cells(1,1)_
>{Value
} = "The Perl Journal";
$worksheet->Cells(1,1)->Font->{Bold
} = "True";
$worksheet->Cells(1
,1
)->Font->{Size
} = 16;
my $dir = getcwd
();
$workbook->SaveAs($dir . '/perl_ole.xls');
$workbook->Close;Coloreado en 0.002 segundos, usando
GeSHi 1.0.8.4
Ya sabrán de donde lo salió
Expect the worst, is it the least you can do?