Initial commit of OpenSPARC T2 design and verification files.
[OpenSPARC-T2-DV] / tools / perl-5.8.0 / lib / site_perl / 5.8.0 / auto / Inline / denter / indent_data.al
CommitLineData
86530b38
AT
1# NOTE: Derived from blib/lib/Inline/denter.pm.
2# Changes made here will be lost when autosplit is run again.
3# See AutoSplit.pm.
4package Inline::denter;
5
6#line 222 "blib/lib/Inline/denter.pm (autosplit into blib/lib/auto/Inline/denter/indent_data.al)"
7sub indent_data {
8 my $o = shift;
9 $_ = shift;
10 return $o->indent_undef($_)
11 if not defined;
12 return $o->indent_value($_)
13 if (not ref);
14 return $o->indent_hash($_)
15 if (ref eq 'HASH' and not /=/ or /=HASH/);
16 return $o->indent_array($_)
17 if (ref eq 'ARRAY' and not /=/ or /=ARRAY/);
18 return $o->indent_scalar($_)
19 if (ref eq 'SCALAR' and not /=/ or /=SCALAR/);
20 return $o->indent_ref($_)
21 if (ref eq 'REF');
22 return "$_\n";
23}
24
25# end of Inline::denter::indent_data
261;