Initial commit of OpenSPARC T2 design and verification files.
[OpenSPARC-T2-DV] / tools / perl-5.8.0 / lib / site_perl / 5.8.0 / Psh / Strategy / Brace.pm
CommitLineData
86530b38
AT
1package Psh::Strategy::Brace;
2
3
4=item * C<bang>
5
6Input within curly braces will be sent unchanged to the perl
7interpreter.
8
9=cut
10
11
12require Psh::Strategy;
13
14@Psh::Strategy::Brace::ISA=('Psh::Strategy');
15
16sub consumes {
17 return Psh::Strategy::CONSUME_TOKENS;
18}
19
20sub runs_before {
21 return qw(built_in);
22}
23
24sub applies {
25 return 'perl evaluation' if substr(${$_[1]},0,1) eq '{';
26}
27
28sub execute {
29 Psh::Strategy::Eval::execute(@_);
30}
31
321;