-
-
24 Jul 2002 21:03:42 UTC
- Distribution: HashBang
- Module version: 0.10
- Source (raw)
- Browse (raw)
- Changes
- How to Contribute
- Issues
- Testers (347 / 2 / 0)
- Kwalitee
Bus factor: 1- % Coverage
- License: unknown
- Activity
24 month- Tools
- Download (1.87KB)
- MetaCPAN Explorer
- Permissions
- Subscribe to distribution
- Permalinks
- This version
- Latest version
++ed by:1 non-PAUSE user- Dependencies
- unknown
- Reverse dependencies
- CPAN Testers List
- Dependency graph
NAME
HashBang - Write your own language interpreters
SYNOPSIS
#!/usr/bin/foo
DESCRIPTION
This CPAN distribution will install a binary program on your system called '
hashbang
'. You can use this program to write your own hashbang style interpreters in Perl. Let's say you've implemented a language calledfoo
in a file calledfoo.pl
. Put the file in the same directory as thehashbang
executable. And then create a symbolic link fromfoo
tohashbang
. Like this:cd /usr/bin cp ~/foo.pl . ln -fs hashbang foo
EXAMPLE
The CPAN distribution,
HashBang-ParrotScript
makes use of HashBang to create a simple interpreter for the Parrot Assembler language.AUTHOR
Brian Ingerson <ingy@cpan.org>
CONTRIBUTORS
Hugo van der Sanden - helped with the initial C code
Norman Nunley - Helped me develop this over a Mexican dinner in San Diego
COPYRIGHT
Copyright (c) 2001, 2002. 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.
Module Install Instructions
To install hashbang, copy and paste the appropriate command in to your terminal.
cpanm hashbang
perl -MCPAN -e shell install hashbang
For more information on module installation, please visit the detailed CPAN module installation guide.