Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

file 33 lines (30 sloc) 0.758 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33
#============================================================= -*-perl-*-
#
# t/strcat.t
#
# Test the string concatenation operator ' _ '.
#
# Written by Andy Wardley <abw@wardley.org>
#
# Copyright (C) 1996-2000 Andy Wardley. All Rights Reserved.
# Copyright (C) 1998-2000 Canon Research Centre Europe Ltd.
#
# This is free software; you can redistribute it and/or modify it
# under the same terms as Perl itself.
#
# $Id$
#
#========================================================================

use strict;
use lib qw( ./lib ../lib );
use Template::Test;

test_expect(\*DATA);

__DATA__
-- test --
[% foo = 'the foo string'
   bar = 'the bar string'
   baz = foo _ ' and ' _ bar
-%]
baz: [% baz %]
-- expect --
baz: the foo string and the bar string
Something went wrong with that request. Please try again.