Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 605963 Details for
Bug 754689
CGI::Session emits deprecation warning when running under 'use warnings'
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
Fix
CGI-Session-4.35-qw.patch (text/plain), 1.30 KB, created by
Petr Pisar
on 2012-08-21 15:10:00 UTC
(
hide
)
Description:
Fix
Filename:
MIME Type:
Creator:
Petr Pisar
Created:
2012-08-21 15:10:00 UTC
Size:
1.30 KB
patch
obsolete
>From 6079e2ecba0da7a432663f8213345f60978513f5 Mon Sep 17 00:00:00 2001 >From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= <ppisar@redhat.com> >Date: Tue, 21 Aug 2012 17:04:58 +0200 >Subject: [PATCH] Fix deprecated use of qw// > ><https://bugzilla.redhat.com/show_bug.cgi?id=754689> ><https://rt.cpan.org/Public/Bug/Display.html?id=69048> >--- > lib/CGI/Session.pm | 2 +- > t/ip_matches.t | 2 +- > 2 files changed, 2 insertions(+), 2 deletions(-) > >diff --git a/lib/CGI/Session.pm b/lib/CGI/Session.pm >index 67eaf39..92c0c4d 100644 >--- a/lib/CGI/Session.pm >+++ b/lib/CGI/Session.pm >@@ -879,7 +879,7 @@ sub _load_pluggables { > id => "ID", > ); > my $dsn = $self->{_DSN}; >- foreach my $plug qw(driver serializer id) { >+ foreach my $plug (qw(driver serializer id)) { > my $mod_name = $dsn->{ $plug }; > if (not defined $mod_name) { > $mod_name = $DEFAULT_FOR{ $plug }; >diff --git a/t/ip_matches.t b/t/ip_matches.t >index 1137d4a..8db31e9 100644 >--- a/t/ip_matches.t >+++ b/t/ip_matches.t >@@ -36,7 +36,7 @@ is($session->param('TEST'),'VALUE','TEST param still set'); > > $session->flush; > # Testing with ip_match set. >-CGI::Session->import qw/-ip_match/; >+CGI::Session->import (qw/-ip_match/); > > is($CGI::Session::IP_MATCH,1,'ip_match switched on'); > >-- >1.7.11.4 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 754689
: 605963