blib/lib/hashbang.pm untested

filter: Statementstmt 0.0% 0 / 1 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub n/a Podpod n/a totaltotal 0.0% 0 / 1 SCAR -
1 package hashbang;
2 $VERSION = '0.10';
3  
4 1;
5  
6 =head1 NAME
7  
8 HashBang - Write your own language interpreters
9  
10 =head1 SYNOPSIS
11  
12 #!/usr/bin/foo
13  
14 =head1 DESCRIPTION
15  
16 This CPAN distribution will install a binary program on your system
17 called 'C<hashbang>'. You can use this program to write your own
18 hashbang style interpreters in Perl. Let's say you've implemented a
19 language called C<foo> in a file called C<foo.pl>. Put the file in the
20 same directory as the C<hashbang> executable. And then create a symbolic
21 link from C<foo> to C<hashbang>. Like this:
22  
23 cd /usr/bin
24 cp ~/foo.pl .
25 ln -fs hashbang foo
26  
27 =head1 EXAMPLE
28  
29 The CPAN distribution, C<HashBang-ParrotScript> makes use of HashBang to create a simple interpreter for the Parrot Assembler language.
30  
31 =head1 AUTHOR
32  
33 Brian Ingerson <ingy@cpan.org>
34  
35 =head1 CONTRIBUTORS
36  
37 Hugo van der Sanden - helped with the initial C code
38  
39 Norman Nunley - Helped me develop this over a Mexican dinner in San Diego
40  
41 =head1 COPYRIGHT
42  
43 Copyright (c) 2001, 2002. Brian Ingerson. All rights reserved.
44  
45 This program is free software; you can redistribute it and/or modify it
46 under the same terms as Perl itself.
47  
48 See L<http://www.perl.com/perl/misc/Artistic.html>
49  
50 =cut