Name
path_segments
Synopsis
path_segments([$seg
])
Sets and gets the path. In a scalar content, path_segments
is equivalent to
path
. In a list contents,
path_segments
returns the
unescaped path segments that make up the path.
Get Perl in a Nutshell, 2nd Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.