احفظ ملف TXT بتنسيق TSV في Perl
API
POST
https://api.aspose.cloud/v3.0/cells/{name}/SaveAs
يعد حفظ تنسيقات الملفات من TXT بتنسيق TSV مهمة معقدة. يتم تنفيذ جميع التحولات من تنسيق TXT إلى TSV بواسطة Perl SDK الخاص بنا مع الحفاظ على المحتوى الهيكلي والمنطقي الرئيسي لجدول بيانات TXT المصدر. تعد مكتبتنا Perl حلاً احترافيًا لحفظ TXT كملفات TSV عبر الإنترنت. يوفر Cloud SDK هذا لمطوري Perl وظائف قوية ومخرجات TSV مثالية.
Perl مثال على الكود لحفظ TXT كـ TSV باستخدام REST API
# For complete examples and data files, please go to https://github.com/aspose-cells-cloud/aspose-cells-cloud-perl/
my $config = AsposeCellsCloud::Configuration->new( client_id => $ENV{'ProductClientId'}, client_secret => $ENV{'ProductClientSecret'});
my $instance = AsposeCellsCloud::CellsApi->new(AsposeCellsCloud::ApiClient->new( $config));
my $name = 'Book1.txt';
my $save_options = undef;
my $folder = 'CellsTests';
my $newfilename = 'Book1Saveas.tsv';
$result = $instance->cells_save_as_post_document_save_as(name => $name,save_options => $save_options, newfilename => $newfilename, folder => $folder);
كيفية حفظ TXT كـ TSV باستخدام مكتبة Cells Cloud Perl.
- تسجيل حساب فيلوحة القيادة للحصول على تفاصيل الحصص والترخيص API مجانًا
- قم بتثبيت مكتبة Perl وأضف المرجع (استيراد المكتبة) إلى مشروعك.
- افتح الملف المصدر في Perl.
- اتصل بالبريد_دفتر العمل_طريقة save_as للحصول على الدفق الناتج
متطلبات النظام
- Perl 5