Perl 5 Issue - Insecure dependency in open and unlink while running with -T switch


I have a perl 5 issue with Taint. This sub is called before main code in script to check if script is already running or not. Please advise on how to make secure, or a better approach.


Insecure dependency in open while running with -T switch at /usr/share/perl5/vendor_perl/File/[login to view URL]

Insecure dependency in unlink while running with -T switch at /usr/share/perl5/vendor_perl/File/[login to view URL]

END failed--call queue aborted at ./[login to view URL]

#!/usr/bin/perl -wT

use strict;

use warnings;

use File::Pid;


## Temporary error if another copy of this script is already running

die 'Another copy of this [login to view URL] script is already running' if already_running();

sub already_running {

$File::Pid::my_pidfile = File::Pid->new;

if ($File::Pid::my_pidfile->running) {

$File::Pid::my_pidfile = undef;

return 1;




$File::Pid::my_pidfile->remove if defined $File::Pid::my_pidfile;

$File::Pid::my_pidfile = undef;


$SIG{INT} = sub {

$File::Pid::my_pidfile->remove if defined $File::Pid::my_pidfile;

$File::Pid::my_pidfile = undef;


return 0;


Skills: Perl

See more: running scraper perl, site running open realty, command running perl ftp, perl timeout issue win32, programs can open telnet socket issue commands, perl script issue snmp query, perl convert image jpg gif open source, running perl script remote computer, open source web database frontend perl, running commands remotely perl rsh, procurve switch perl script running configuration, perl script open set files measure similarity, perl open file ignore html tags, perl check mysql processes running, perl cgi open tmpfile read file system, perl alarm issue, open itel mobile dialer switch, open office running document converter standalone, i m going to open now a new business with 20000 usd i have right now 10000 usd i need another 10000 usd instead of going to a ba, I would like this logo modified. I would like the point removed, the wings removed and a goatee added to the chin. I am open to

About the Employer:
( 31 reviews ) Brixham, United Kingdom

Project ID: #17453509

Awarded to:


Hi I have 12 Years of experience. I will check this. Please ping me. Thanks! Regards Kamal Mehta

$35 USD in 1 day
(2 Reviews)

2 freelancers are bidding on average $33 for this job


Feel fee to contact me for Perl 5 Issue .Shoot me message to discuss further more details .We provide the commments,images,videos,demos and live sessions in order to help the [login to view URL] payment only after the wor More

$30 USD in 1 day
(0 Reviews)