Setup Aspose.Tasks Cloud SDK for Perl is also available as a released package in the [CPAN (Perl Archive Network)][6] . You can bypass GitHub source code repository and depend directly on the released package by installing from cpan: Aspose.Tasks Cloud SDK for Perl - CPAN installation

 sudo cpan AsposeTasksCloud-TasksApi 
```You can also manually build the module by downloading the code and executing the following in the root directory of the download:

perl Build.PL ./Build ./Build test ./Build install

use lib ’lib’; use strict; use warnings; use File::Slurp; # From CPAN

use AsposeStorageCloud::StorageApi; use AsposeStorageCloud::ApiClient; use AsposeStorageCloud::Configuration;

use AsposeTasksCloud::TasksApi; use AsposeTasksCloud::ApiClient; use AsposeTasksCloud::Configuration;

$AsposeTasksCloud::Configuration::app_sid = ‘XXX’; $AsposeTasksCloud::Configuration::api_key = ‘XXX’;

$AsposeTasksCloud::Configuration::debug = 1; $AsposeStorageCloud::Configuration::app_sid = $AsposeTasksCloud::Configuration::app_sid; $AsposeStorageCloud::Configuration::api_key = $AsposeTasksCloud::Configuration::api_key;

#Instantiate Aspose.Storage API SDK my $storageApi = AsposeStorageCloud::StorageApi->new();

#Instantiate Aspose.Tasks API SDK my $tasksApi = AsposeTasksCloud::TasksApi->new();

my $data_path = ‘../data/’;

#set input file name my $filename = ‘sample-project’; my $name = $filename . ‘.mpp’; my $format = “pdf”;

#upload file to aspose cloud storage my $response = $storageApi->PutCreate(Path => $name, file => $data_path.$name);

#invoke Aspose.Tasks Cloud SDK API to convert project document to other formats
$response = $tasksApi->GetTaskDocumentWithFormat(name => $name, format => $format);

if($response->{‘Status’} eq ‘OK’){ #save converted format file from response stream my $output_file = ‘C:/temp/’. $filename . ‘.’ . $format; write_file($output_file, { binmode => “:raw” }, $response->{‘Content’}); }


*   [Working With Project Documents](https://www.aspose.com/docs/display/taskscloud/Working+with+Project+Documents)
*   [Working With Tasks](https://www.aspose.com/docs/display/taskscloud/Working+with+Tasks)
*   [Working With Task Links](https://www.aspose.com/docs/display/taskscloud/Working+With+Resources)
*   [Working With Resources Working With Assignments](https://www.aspose.com/docs/display/taskscloud/Working+with+Assignments)
*   [Working With Calendars](https://www.aspose.com/docs/display/taskscloud/Working+with+Calendars)
*   [Working With Outline Codes And Extended Attributes](https://www.aspose.com/docs/display/taskscloud/Working+with+Outline+Codes+and+Extended+Attributes)

Start a Free Trial Today Start a free trial today – all you need is to [sign up][10] with the Aspose Cloud service. Once you have signed up, you are ready to try the powerful file processing features offered by Aspose Cloud.




[1]: https://blog.aspose.com/wp-content/uploads/sites/2/2016/05/aspose_tasks-for-cloud-112x112.png "Aspose.Tasks Cloud")](https://www.aspose.com/cloud/project-management-api.aspx)Aspose.Tasks Cloud is a REST API for manipulating Microsoft Project documents in the cloud. It is a true REST API that can be used with any language: .NET, Java, Perl, PHP, Ruby, Rails, Python, Node.js and many more. You can use it with any platform — web, desktop, mobile, and cloud. Aspose.Tasks Cloud allows developers to manipulate project data including Tasks, Resources, Task links, and Assignments. Aspose.Tasks Cloud is a complete solution that allows you to work with all aspects of a Project document including conversion and manipulation of project’s tasks, task links, resources, resource assignments and extended attribute data. [Learn More](https://www.aspose.com/cloud/project-management-api.aspx
[2]: https://blog.aspose.com/wp-content/uploads/sites/2/2016/05/Aspose.Tasks-supported-file-formats.png "Aspose.Tasks Cloud Supported file formats")](https://www.aspose.com/cloud/project-management-api.aspx
[3]: https://www.aspose.com/docs/display/taskscloud/Home
[4]: https://www.aspose.com/cloud/project-management-api.aspx
[5]: https://asposetaskscloud.codeplex.com/SourceControl/latest#SDKs/Aspose.Tasks-Cloud-SDK-for-Perl/
[6]: https://metacpan.org/release/AsposeTasksCloud-TasksApi/
[7]: https://metacpan.org/release/AsposeStorageCloud-StorageApi
[8]: https://www.aspose.com/docs/display/taskscloud/Home
[9]: https://www.aspose.com/docs/display/taskscloud/Developer+Guide
[10]: https://dashboard.aspose.cloud/