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 called foo in a file called foo.pl. Put the file in the same directory as the hashbang executable. And then create a symbolic link from foo to hashbang. 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.

See http://www.perl.com/perl/misc/Artistic.html