|
DataMuseum.dkPresents historical artifacts from the history of: DKUUG/EUUG Conference tapes |
This is an automatic "excavation" of a thematic subset of
See our Wiki for more about DKUUG/EUUG Conference tapes Excavated with: AutoArchaeologist - Free & Open Source Software. |
top - metrics - download
Length: 477 (0x1dd) Types: TextFile Names: »append.t«
└─⟦4f9d7c866⟧ Bits:30007245 EUUGD6: Sikkerheds distributionen └─⟦b5330643c⟧ »./cops/perl-4.019/perl.tar.Z« └─⟦2b9a58213⟧ └─⟦this⟧ »perl-4.019/t/op/append.t«
#!./perl # $Header: append.t,v 4.0 91/03/20 01:51:23 lwall Locked $ print "1..3\n"; $a = 'ab' . 'c'; # compile time $b = 'def'; $c = $a . $b; print "#1\t:$c: eq :abcdef:\n"; if ($c eq 'abcdef') {print "ok 1\n";} else {print "not ok 1\n";} $c .= 'xyz'; print "#2\t:$c: eq :abcdefxyz:\n"; if ($c eq 'abcdefxyz') {print "ok 2\n";} else {print "not ok 2\n";} $_ = $a; $_ .= $b; print "#3\t:$_: eq :abcdef:\n"; if ($_ eq 'abcdef') {print "ok 3\n";} else {print "not ok 3\n";}