From 5e4f1a1bcad5d79d267d61464dd5ac07659838bf Mon Sep 17 00:00:00 2001 From: "Zane C. Bowers-Hadley" Date: Mon, 8 Jul 2019 03:47:55 -0500 Subject: [PATCH] doc correction --- Net-Connection-Match/lib/Net/Connection/Match/Protos.pm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Net-Connection-Match/lib/Net/Connection/Match/Protos.pm b/Net-Connection-Match/lib/Net/Connection/Match/Protos.pm index 06222fb..cb29253 100644 --- a/Net-Connection-Match/lib/Net/Connection/Match/Protos.pm +++ b/Net-Connection-Match/lib/Net/Connection/Match/Protos.pm @@ -55,7 +55,7 @@ This intiates the object. It takes a hash reference with one key. One key is required and that is 'protos', which is a array of protocols to match against. -Atleast one state must be present. +Atleast one protocol must be present. If the new method fails, it dies. @@ -77,10 +77,10 @@ sub new{ # run some basic checks to make sure we have the minimum stuff required to work if ( ! defined( $args{protos} ) ){ - die ('No states key specified in the argument hash'); + die ('No protos key specified in the argument hash'); } if ( ref( \$args{protos} ) eq 'ARRAY' ){ - die ('The states key is not a array'); + die ('The protos key is not a array'); } if ( ! defined $args{protos}[0] ){ die ('No states defined in the protos array');