CIPP

 view release on metacpan or  search on metacpan

Changes  view on Meta::CPAN

    Features:
    - Real implementation of the new gettext based l10n 
      framework. Set the actual LC_MESSAGES language
      with the new tag <?lang><?/lang>.
    - new command line tool cipp-l10n handles all tasks
      around .pot file generation, .po merging and .mo
      installation.

3.0.6 Thu Nov 17, 2005, joern
    Bugfix:
    - Omit CIPP version header when XHTML conformity
      is enabled.

3.0.5 Mon Oct 31, 2005, joern
    Features:
    - 'Initial Perl Statement' for database handles.
      This affects the runtime API!

3.0.4 Fri Oct 28, 2005, joern
    Features:
    - All database commands now support getting a variable 
      passed in the DB option for runtime evaluation.

3.0.3 Thu Sep 22, 2005, joern
    Features:
    - HTTP Header Content-type: default to windows-1252
      instead of iso-8859-1.

3.0.2 Wed Sep 21, 2005, joern
    Features:
    - optionally truncate whitespace around CIPP tags
    - optionally generate XHTML conform HTML code

3.0.1 Fri Sep 16, 2005, joern
    Bugfix:
    - Runtime: Determiniation of full prod path didn't
      work with Apache2

3.0.0 Mon Sep 12, 2005, joern
    Bugfix:
    - <?GETPARAM MY VAR="@list" NAME="foo"> returned only
      the first value of the foo list parameter when

lib/CIPP/Runtime/NewSpirit.pm  view on Meta::CPAN

	# ($0 is messed up with SpeedyCGI, so fallback to
	#  SCRIPT_FILENAME if no .cgi in there)
	my $script_name = ( $0 =~ /\.cgi$/ ? $0 : undef ) ||
			  $ENV{SCRIPT_FILENAME};
	$self->set_script_name($script_name);

	# change to program dir
	$script_name =~ m!^(.*)[/\\][^/\\]+$!;
	chdir $1 if $1;

	# set $CIPP::ee (End of Element, XHTML conformity)
	$CIPP::ee = $self->get_xhtml ? " /" : "";
	
	1;
}

sub print_http_header {
	my $self = shift;

	my $mime_type = $self->get_mime_type;
	



( run in 1.192 second using v1.01-cache-2.11-cpan-49f99fa48dc )