Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/davorg-cpan/symbol-approx-sub
Perl library to call subroutines using approximate names
https://github.com/davorg-cpan/symbol-approx-sub
cpan hacktoberfest joke perl symbol-table
Last synced: 2 months ago
JSON representation
Perl library to call subroutines using approximate names
- Host: GitHub
- URL: https://github.com/davorg-cpan/symbol-approx-sub
- Owner: davorg-cpan
- License: other
- Created: 2008-12-10T15:06:13.000Z (about 16 years ago)
- Default Branch: master
- Last Pushed: 2024-01-23T13:25:52.000Z (12 months ago)
- Last Synced: 2024-10-13T02:41:02.085Z (3 months ago)
- Topics: cpan, hacktoberfest, joke, perl, symbol-table
- Language: Perl
- Homepage: http://search.cpan.org/dist/Symbol-Approx-Sub
- Size: 96.7 KB
- Stars: 2
- Watchers: 3
- Forks: 5
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: COPYING
Awesome Lists containing this project
README
# Symbol::Approx::Sub
[![Build Status](https://github.com/davorg-cpan/symbol-approx-sub/actions/workflows/perltest.yml/badge.svg?branch=master)](https://github.com/davorg-cpan/symbol-approx-sub/actions/workflows/perltest.yml) [![Coverage Status](https://coveralls.io/repos/github/davorg-cpan/symbol-approx-sub/badge.svg?branch=master)](https://coveralls.io/github/davorg-cpan/symbol-approx-sub?branch=master)
## What is Symbol::Approx::Sub?
Symbol::Approx::Sub is a Perl module which allows you to call subroutines
using approximate names.Of course, why you might want to do that is a completely different
question. You almost certainly don't want to do it in production
code as it will make your program almost completely unmaintainable.I only wrote this module to test my understanding of typeglobs and
AUTOLOAD. I really don't expect it to have any sensible uses at all
(but if you find one, I'd be interested in knowing what it is).## How Do I Install It?
Symbol::Approx::Sub uses the standard Perl module architecture and can
therefore by installed using the standard Perl method which, in
brief, goes something like this:```unix
gzip -cd Symbol-Approx-Sub-X.XX.tar.gz | tar xvf -
cd Symbol-Approx-Sub-X.XX
perl Makefile.PL
make
make test
make install
```Where X.XX is the version number of the module which you are
installing.If this doesn't work for you then creating a directory called
Symbol/Approx somewhere in your Perl library path (@INC) and copying
the Sub.pm file into this directory should also do the trick.## Prerequisites
As of version 1.03, Symbol::Approx::Sub uses Devel::Symdump to do
all of the clever glob-walking stuff, so you'll need to get that from
CPAN and install it before installing Symbol::Approx::Sub.## Where is the Documentation?
All of the documentation is currently in POD format in the Approx.pm
file. If you install the module using the standard method you should
be able to read it by typing```unix
perldoc Symbol::Approx::Sub
```at a command prompt.
## Latest Version
The latest version of this module will always be available from
CPAN.## Copyright
Copyright (c) 2000, Magnum Solutions Ltd. All Rights Reserved.
This script is free software; you can redistribute it and/or
modify it under the same terms as Perl itself.## Anything Else?
If you have any further questions, please contact the author.
## Authors
Dave CrossEmail: [email protected]