NAME
TaskPipe::Task_SourceFromFile - use a file as a data source
DESCRIPTION
This is the standard task for reading from a yaml data file (and outputing the records as an arrayref). You can use this task directly. You should make sure the file the task is reading is in a format which will become an array when read by YAML::XS. For example:
---
-   url: https://www.example.com/first_record
    headers:
        Referer: https://www.example.com
-   url: https://www.example.com/second_record
        Referer: https://www.example.com
# ...
In your plan, specify the task as follows:
# (tree format):
task:
    _name: SourceFromFile
    filename: mydatafile.yml
pipe_to:
    # ...
AUTHOR
Tom Gracey <tomgracey@gmail.com>
COPYRIGHT AND LICENSE
Copyright (c) Tom Gracey 2018
TaskPipe is free software, licensed under
The GNU Public License Version 3