]> Dogcows Code - chaz/p5-Linux-Proc-Maps/commitdiff
move subs from METHODS to FUNCTIONS in pod
authorCharles McGarvey <chazmcgarvey@brokenzipper.com>
Sat, 26 Nov 2016 07:14:35 +0000 (00:14 -0700)
committerCharles McGarvey <chazmcgarvey@brokenzipper.com>
Sat, 26 Nov 2016 07:14:35 +0000 (00:14 -0700)
lib/Linux/Proc/Maps.pm

index 21a3b12666c2fdffa00fe1b274ccab8782ca88d9..f71db253c81d3de8faf9ac915e9346aef64eeb6c 100644 (file)
@@ -30,7 +30,7 @@ our @EXPORT_OK = qw(read_maps write_maps parse_maps_single_line format_maps_sing
 
 This module reads and writes F</proc/[pid]/maps> files that contain listed mapped memory regions.
 
-=method read_maps
+=func read_maps
 
 Read and parse a maps file, returning an arrayref of regions (each represented as a hashref). See
 L</parse_maps_single_line> to see the format of the hashrefs.
@@ -80,7 +80,7 @@ sub read_maps {
     return \@regions;
 }
 
-=method write_maps
+=func write_maps
 
 Returns a string with the contents of a maps file from the memory regions passed.
 
@@ -118,7 +118,7 @@ sub write_maps {
     return $out;
 }
 
-=method parse_maps_single_line
+=func parse_maps_single_line
 
 Parse and return a single line from a maps file into a region represented as a hashref.
 
@@ -179,7 +179,7 @@ sub parse_maps_single_line {
     };
 }
 
-=method format_maps_single_line
+=func format_maps_single_line
 
 Return a single line for a maps file from a region represented as a hashref.
 
This page took 0.026907 seconds and 4 git commands to generate.