.CodeMirror {border-top: 1px solid black; border-bottom: 1px solid black;}
CodeMirror
Home Manual Code
Language modes Perl
Perl mode
#!/usr/bin/perl
use Something qw(func1 func2);
# strings my $s1 = qq'single line'; our $s2 = q(multi- line);
=item Something Example. =cut
my $html= hi!
HTML
print "first,".join(',', 'second', qq~third~);
if($s1 =~ m[(? {
}=$$.' predefined variables'; $s2 =~ s/\-line//ox; $s1 =~ s[ line ] [ block ]ox; }
1; # numbers and comments
__END__ something...
var editor = CodeMirror.fromTextArea(document.getElementById("code"), { lineNumbers: true });
MIME types defined: text/x-perl .