Help language development. Donate to The Perl Foundation

Path::Through cpan:HYTHM last updated on 2019-06-10

README.md
[![Build Status](https://travis-ci.org/hythm7/path-through.svg?branch=master)](https://travis-ci.org/hythm7/path-through)

NAME
====

`Path::Through` - Provides `append`, `prepend`, `pop` and `shift` multis to `IO::Path` (Linux only)

SYNOPSIS
========

```perl6
use Path::Through;

my $path = '/b'.IO;
say $path;                     # "/b".IO

$path = append $path,'c/d';
say $path;                     # "/b/c/d".IO

$path = $path.&prepend: 'a';
say $path;                     # "a/b/c/d".IO

$path = $path.&pop: :2parts;
say $path;                     # "a/b".IO

$path = $path.&shift;
say $path;                     # "b".IO
```

AUTHOR
======

Haytham Elganiny <[email protected]>

COPYRIGHT AND LICENSE
=====================

Copyright 2019 Haytham Elganiny

This library is free software; you can redistribute it and/or modify it under the Artistic License 2.0.