develooper Front page | perl.perl5.porters | Postings from May 2013

Re: [perl #117969] use POSIX emits multiple warnings if used after"Cwd"

Thread Previous | Thread Next
From:
Dr.Ruud
Date:
May 13, 2013 07:48
Subject:
Re: [perl #117969] use POSIX emits multiple warnings if used after"Cwd"
Message ID:
20130513074842.5676.qmail@lists-nntp.develooper.com
On 12/05/2013 03:02, Linda Walsh wrote:

> I was trying to "use POSIX" and got multiple warnings in my
> program:
> [...]
> Subroutine main::getcwd redefined at /usr/lib/perl5/5.16.2/x86_64-linux-thread-multi/POSIX.pm line 30.

Start with replacing your "use POSIX;" by "use POSIX ();".

-- 
Ruud


Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About