| 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. |
| 4 | package Inline::denter; |
| 5 | |
| 6 | #line 303 "blib/lib/Inline/denter.pm (autosplit into blib/lib/auto/Inline/denter/indent_scalar.al)" |
| 7 | sub indent_scalar { |
| 8 | my ($o, $data) = @_; |
| 9 | my $stream = $o->_print_ref($data, q{$}, 'SCALAR'); |
| 10 | return $$stream if ref $stream; |
| 11 | my $indent = ($o->{level} + 1) * $o->{width}; |
| 12 | $stream .= ' ' x $indent; |
| 13 | $stream .= $o->indent_data($$data); |
| 14 | return $stream; |
| 15 | } |
| 16 | |
| 17 | # end of Inline::denter::indent_scalar |
| 18 | 1; |