I want to create a jira project in a Perl environment

Hello again, Alex. Building on top of your previous posts like I want to print only specific field values of a specific issue - #4 by iragudo, you might want to try something like

# create a project
my $project = $jira->POST('/project', undef, {
	key => 'PERL',
	name => 'Perl example',
	projectTypeKey => 'business',
    #some more required parameters in the docs
	...
});

You can pattern it in the sample create issue in JIRA::REST - Thin wrapper around Jira's REST API - metacpan.org.