
IO::All::Gopher - Extends IO::All to Gopher URLs

use IO::All;
io('gopher://example.org/pub/xyz') > io('xyz'); # GET to file

This module extends IO::All for dealing with Gopher URLs. Note that you don't need to use it explicitly, as it is autoloaded by IO::All whenever it sees something that looks like a Gopher URL.

This is a subclass of IO::All::LWP. The only new method is gopher, which can be used to create a blank IO::All::Gopher object; or it can also take an Gopher URL as a parameter. Note that in most cases it is simpler just to call io('gopher://example.com'), which calls the gopher method automatically.

Read-only operators from IO::All may be used. < GETs a Gopher URL.


Ivan Tubert-Brohman <itub@cpan.org> and Brian Ingerson <ingy@cpan.org> Gopher.pm patch generously submitted by Richard Soderberg.

Copyright (c) 2004. Ivan Tubert-Brohman and Brian Ingerson. All rights reserved.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.