The Perl and Raku Conference 2025: Greenville, South Carolina - June 27-29 Learn more

package CSS::Parse;
$VERSION = 1.00;
use strict;
# Create an empty object
sub new {
my $class = shift;
my $self = bless {}, $class;
$self->{parent} = undef;
return $self;
}
# The main parser
sub parse_string {
my $self = shift;
my $string = shift;
die("CSS::Parse is not a valid parser! Use a subclass instead (CSS::Parse::*)\n");
}
1;
__END__
=head1 NAME
CSS::Parse - Template class for CSS parser modules
=head1 DESCRIPTION
This module should not be used directly. Instead, use the CSS::Parse::* modules.
=head1 AUTHOR
Copyright (C) 2003, Cal Henderson <cal@iamcal.com>
=head1 SEE ALSO
L<CSS>
=cut