Browse Source

doc correction

tags/0.0.0
Zane C. B-H 1 month ago
parent
commit
5e4f1a1bca
1 changed files with 3 additions and 3 deletions
  1. 3
    3
      Net-Connection-Match/lib/Net/Connection/Match/Protos.pm

+ 3
- 3
Net-Connection-Match/lib/Net/Connection/Match/Protos.pm View File

@@ -55,7 +55,7 @@ This intiates the object.
55 55
 It takes a hash reference with one key. One key is required and
56 56
 that is 'protos', which is a array of protocols to match against.
57 57
 
58
-Atleast one state must be present.
58
+Atleast one protocol must be present.
59 59
 
60 60
 If the new method fails, it dies.
61 61
 
@@ -77,10 +77,10 @@ sub new{
77 77
 
78 78
 	# run some basic checks to make sure we have the minimum stuff required to work
79 79
 	if ( ! defined( $args{protos} ) ){
80
-		die ('No states key specified in the argument hash');
80
+		die ('No protos key specified in the argument hash');
81 81
 	}
82 82
 	if ( ref( \$args{protos} ) eq 'ARRAY' ){
83
-		die ('The states key is not a array');
83
+		die ('The protos key is not a array');
84 84
 	}
85 85
 	if ( ! defined $args{protos}[0] ){
86 86
 		die ('No states defined in the protos array');

Loading…
Cancel
Save