Bug 130829 - [PATCH] devel/p5-IO-Prompt: fix 'Use of uninitialized value in pattern match'
Summary: [PATCH] devel/p5-IO-Prompt: fix 'Use of uninitialized value in pattern match'
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Lars Thegler
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-01-21 16:40 UTC by skv
Modified: 2009-01-22 17:50 UTC (History)
1 user (show)

See Also:


Attachments
p5-IO-Prompt-0.99.4_1.patch (999 bytes, patch)
2009-01-21 16:40 UTC, skv
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description skv freebsd_committer freebsd_triage 2009-01-21 16:40:01 UTC
Fix warnings like:

Use of uninitialized value in pattern match (m//) at /usr/local/lib/perl5/site_perl/5.8.9/IO/Prompt.pm line 91.

Added file(s):
- files/patch-Prompt.pm

How-To-Repeat: 
test.pl:
====================
#!/usr/bin/perl -Tw
use strict;
use warnings;

use IO::Prompt;

my $res = prompt( -prompt => "Enter something:");
====================

./test.pl

Use of uninitialized value in pattern match (m//) at /usr/local/lib/perl5/site_perl/5.8.9/IO/Prompt.pm line 91.
Enter something:
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2009-01-21 16:40:12 UTC
Responsible Changed
From-To: freebsd-ports-bugs->lth

Over to maintainer (via the GNATS Auto Assign Tool) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=130829 

Date: Wed, 21 Jan 2009 23:38:18 +0100
Comment 2 skv freebsd_committer freebsd_triage 2009-01-22 17:45:29 UTC
State Changed
From-To: open->closed

Committed.
Comment 3 dfilter service freebsd_committer freebsd_triage 2009-01-22 17:45:30 UTC
skv         2009-01-22 17:45:15 UTC

  FreeBSD ports repository

  Modified files:
    devel/p5-IO-Prompt   Makefile 
  Added files:
    devel/p5-IO-Prompt/files patch-Prompt.pm 
  Log:
  Fix issue "Use of uninitialized value $_ in pattern match (m//)".
  
  PR:             ports/130829
  Submitted by:   skv
  Approved by:    lth (maintainer)
  Bug:            https://rt.cpan.org/Ticket/Display.html?id=42681
  
  Revision  Changes    Path
  1.5       +1 -0      ports/devel/p5-IO-Prompt/Makefile
  1.1       +10 -0     ports/devel/p5-IO-Prompt/files/patch-Prompt.pm (new)
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"