7
# Turn on $OUTPUT_AUTOFLUSH
10
use Data::Printer { caller_info => 1, colored => 1, };
12
my $STYLE_DEFAULT = text;
16
my $PL_COMMENTLINE; #comment
29
=item * This is a bulleted list.
41
# use my sub for while else print return if chomp shift
43
print "sample text\n";
48
my $PL_STRING = "string";
49
my $PL_CHARACTER = 'c';
51
my $PL_PUNCTUATION; # () [] {}
52
my $PL_PREPROCESSOR; # not emitted by LexPerl, can we recycle it?
53
my $PL_OPERATOR; # + - * % ** . =~ x , ++ -- ||= != <=
54
my $PL_IDENTIFIER; #struct $variable @array %hash
58
$PL_ARRAY[100]; # indexed
64
*Package::Foo::variable = 'blah';
66
my $PL_XLAT = tr/abc/xyz/;
68
my $PL_REGEX =~ m/ <:name>(pattern) /p;
69
my $PL_REGSUBST = s/^\s{1}//a;
71
my $PL_LONGQUOTE; # what?
72
my $PL_BACKTICKS = `back ticks`;
74
my $PL_DATASECTION; # see below
76
my $PL_HERE_DELIM = <<FOO;
79
my $PL_HERE_Q = <<'FOO';
82
my $PL_HERE_QQ = <<"FOO";
85
my $PL_HERE_QX = <<`FOO`;
89
my $PL_STRING_Q = q( single quoted string literal );
90
my $PL_STRING_QQ = qq( double quoted string literal );
91
my $PL_STRING_QX = qx{ command };
92
my $PL_STRING_QR = qr/ sample text /;
93
my @PL_STRING_QW = qw( word list );
95
my $escaped = "Hello World\n";
97
sub function_prototyped($$&) {
101
sub function_attrib : SomeAttributes(etc) {
105
# what PL is lexing STDOUT?
107
@### @.### @##.### @### @### ^####
108
42, 3.1415, undef, 0, 10000, undef
111
open( FILEHANDLE, '<' , 'data.txt' );
112
print FILEHANDLE "\r\n";
124
=head1 LICENSE AND COPYRIGHT
126
Copyright 2008-2011 The Padre development team as listed in Padre.pm.
128
This program is free software; you can redistribute
129
it and/or modify it under the same terms as Perl 5 itself.
131
The full text of the license can be found in the
132
LICENSE file included with this module.
b'\\ No newline at end of file'