mirror of
https://github.com/KevinMidboe/linguist.git
synced 2025-10-29 17:50:22 +00:00
.al extension for Perl
This commit is contained in:
@@ -2439,6 +2439,7 @@ Perl:
|
|||||||
color: "#0298c3"
|
color: "#0298c3"
|
||||||
extensions:
|
extensions:
|
||||||
- .pl
|
- .pl
|
||||||
|
- .al
|
||||||
- .cgi
|
- .cgi
|
||||||
- .fcgi
|
- .fcgi
|
||||||
- .perl
|
- .perl
|
||||||
|
|||||||
13
samples/Perl/getchar.al
Normal file
13
samples/Perl/getchar.al
Normal file
@@ -0,0 +1,13 @@
|
|||||||
|
# NOTE: Derived from ../../lib/POSIX.pm.
|
||||||
|
# Changes made here will be lost when autosplit is run again.
|
||||||
|
# See AutoSplit.pm.
|
||||||
|
package POSIX;
|
||||||
|
|
||||||
|
#line 318 "../../lib/POSIX.pm (autosplit into ../../lib/auto/POSIX/getchar.al)"
|
||||||
|
sub getchar {
|
||||||
|
usage "getchar()" if @_ != 0;
|
||||||
|
CORE::getc(STDIN);
|
||||||
|
}
|
||||||
|
|
||||||
|
# end of POSIX::getchar
|
||||||
|
1;
|
||||||
Reference in New Issue
Block a user