File: adapt.pl

package info (click to toggle)
libcss-perl 1.08-1%2Bnmu3
  • links: PTS
  • area: main
  • in suites: wheezy
  • size: 976 kB
  • sloc: perl: 13,816; makefile: 16
file content (22 lines) | stat: -rw-r--r-- 559 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
use CSS;
use Data::Dumper;

print(('='x60)."\n");

my $css_l = new CSS({'parser' => 'CSS::Parse::Lite'});
$css_l->read_file("t/css_simple");
print $css_l->output();

print(('='x60)."\n");

my $css_l = new CSS({'parser' => 'CSS::Parse::Lite', 'adaptor' => 'CSS::Adaptor::Pretty'});
$css_l->read_file("t/css_simple");
print $css_l->output();

print(('='x60)."\n");

my $css_l = new CSS({'parser' => 'CSS::Parse::Lite', 'adaptor' => 'CSS::Adaptor::Debug'});
$css_l->read_file("t/css_simple");
print $css_l->output();

print(('='x60)."\n");