| 1 | # WebFetch::Input::RSS | ||
| 2 | # ABSTRACT: compatibility mode to access WebFetch::RSS under its previous name | ||
| 3 | # | ||
| 4 | # Copyright (c) 1998-2022 Ian Kluft. This program is free software; you can | ||
| 5 | # redistribute it and/or modify it under the terms of the GNU General Public | ||
| 6 | # License Version 3. See https://www.gnu.org/licenses/gpl-3.0-standalone.html | ||
| 7 | |||
| 8 | # pragmas to silence some warnings from Perl::Critic | ||
| 9 | ## no critic (Modules::RequireExplicitPackage) | ||
| 10 | # This solves a catch-22 where parts of Perl::Critic want both package and use-strict to be first | ||
| 11 | 2 | ▶ | use strict; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 12 | 2 | ▶ | use warnings; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 13 | 2 | ▶ | use utf8; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 14 | ## use critic (Modules::RequireExplicitPackage) | ||
| 15 | |||
| 16 | package WebFetch::Input::RSS; | ||
| 17 | $WebFetch::Input::RSS::VERSION = '0.3.2'; | ||
| 18 | |||
| 19 | # inherit everything as a derived class - this exists just for backward compatibility | ||
| 20 | 2 | ▶ | use base "WebFetch::RSS"; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 21 | |||
| 22 | 1; | ||
| 23 | |||
| 24 | =pod | ||
| 25 | |||
| 26 | =encoding UTF-8 | ||
| 27 | |||
| 28 | =head1 NAME | ||
| 29 | |||
| 30 | WebFetch::Input::RSS - compatibility mode to access WebFetch::RSS under its previous name | ||
| 31 | |||
| 32 | =head1 VERSION | ||
| 33 | |||
| 34 | version 0.3.2 | ||
| 35 | |||
| 36 | =head1 SYNOPSIS | ||
| 37 | |||
| 38 | In perl scripts: | ||
| 39 | |||
| 40 | C<use WebFetch::Input::RSS;> | ||
| 41 | |||
| 42 | From the command line: | ||
| 43 | |||
| 44 | C<perl -w -MWebFetch::Input::RSS -e "&fetch_main" -- --dir directory --source rss-feed-url [...output options...]> | ||
| 45 | |||
| 46 | or | ||
| 47 | |||
| 48 | C<perl -w -MWebFetch::Input::RSS -e "&fetch_main" -- --dir directory [...input options...]> --dest_format=rss --dest=file | ||
| 49 | |||
| 50 | =head1 DESCRIPTION | ||
| 51 | |||
| 52 | I<WebFetch::Input::RSS> is an alias for L<WebFetch::RSS> to provide backward compatibility under its previous name. | ||
| 53 | |||
| 54 | =head1 SEE ALSO | ||
| 55 | |||
| 56 | L<WebFetch> | ||
| 57 | L<https://github.com/ikluft/WebFetch> | ||
| 58 | |||
| 59 | =head1 BUGS AND LIMITATIONS | ||
| 60 | |||
| 61 | Please report bugs via GitHub at L<https://github.com/ikluft/WebFetch/issues> | ||
| 62 | |||
| 63 | Patches and enhancements may be submitted via a pull request at L<https://github.com/ikluft/WebFetch/pulls> | ||
| 64 | |||
| 65 | =head1 AUTHOR | ||
| 66 | |||
| 67 | Ian Kluft <https://github.com/ikluft> | ||
| 68 | |||
| 69 | =head1 COPYRIGHT AND LICENSE | ||
| 70 | |||
| 71 | This software is Copyright (c) 1998-2022 by Ian Kluft. | ||
| 72 | |||
| 73 | This is free software, licensed under: | ||
| 74 | |||
| 75 | The GNU General Public License, Version 3, June 2007 | ||
| 76 | |||
| 77 | =cut | ||
| 78 | |||
| 79 | __END__ | ||