This module provides subs that allow you to read or write entire files with one simple call. They are designed to be simple to use, have flexible ways to pass in or get the file contents and to be very efficient. There is also a sub to read in all the files in a directory other than . and .. These slurp/spew subs work for files, pipes and sockets, and stdio, pseudo-files, and DATA.
This module provides subs that allow you to read or write entire files with one simple call. They are designed to be simple to use, have flexible ways to pass in or get the file contents and to be very efficient. There is also a sub to read in all the files in a directory other than . and .. These slurp/spew subs work for files, pipes and sockets, and stdio, pseudo-files, and DATA.
To install p5.32-file-slurp, run the following command in macOS terminal (Applications->Utilities->Terminal)
sudo port install p5.32-file-slurp
To see what files were installed by p5.32-file-slurp, run:
port contents p5.32-file-slurp
To later upgrade p5.32-file-slurp, run:
sudo port selfupdate && sudo port upgrade p5.32-file-slurp
Reporting an issue on MacPorts Trac
The MacPorts Project uses a system called Trac to file tickets to report bugs and enhancement requests.
Though anyone may search Trac for tickets, you must have a GitHub account in order to login to Trac to create tickets.