Hi,
Looking in SSLeay.pm, I dont see any assignment to $[
I do see 2 instances of
local $[;
Its not clear to me why they are there at all? Views?
Cheers.
On Wednesday, February 15, 2012 07:06:36 PM you wrote:
Show quoted text> Wed Feb 15 19:06:35 2012: Request 75045 was acted upon.
> Transaction: Ticket created by TODDR
> Queue: Net-SSLeay
> Subject: do not set $[ in Net::SSLeay
> Broken in: 1.42
> Severity: Normal
> Owner: Nobody
> Requestors: TODDR@cpan.org
> Status: new
> Ticket <URL:
https://rt.cpan.org/Ticket/Display.html?id=75045 >
>
>
> hi, per perl5140 delta and perl5120 delta,
>
> Assignment to $[ was deprecated and started to give warnings in Perl version
> 5.12.0. Net::SSLeay uses this in multiple places.
>
> Could I suggest one of the 2 approaches to fix this problem?
>
> approach 1: only do this conditionally if running less than perl 5.12:
> local $[ if($] < 5.012);
>
> approach2: only localize it if it's set:
> local $[ if($[);
--
Mike McCauley mikem@open.com.au
Open System Consultants Pty. Ltd
9 Bulbul Place Currumbin Waters QLD 4223 Australia
http://www.open.com.au
Phone +61 7 5598-7474 Fax +61 7 5598-7070
Radiator: the most portable, flexible and configurable RADIUS server
anywhere. SQL, proxy, DBM, files, LDAP, NIS+, password, NT, Emerald,
Platypus, Freeside, TACACS+, PAM, external, Active Directory, EAP, TLS,
TTLS, PEAP, TNC, WiMAX, RSA, Vasco, Yubikey, MOTP, HOTP, TOTP,
DIAMETER etc. Full source on Unix, Windows, MacOSX, Solaris, VMS, NetWare etc.