2-3 ?值?字串????比?

Perl NƭȩMr@A÷|ۦi楲nഫAҦpG $str = "XYZ" . (3*4*5); Perl ݨu.vADniۦꪺsAҥH|i 3*4*5 ƭȹBAo 60AANഫr "60"A̫M "XYZ" sb@_A] $str ȴNO "XYZ60"CAݬݤU@ӨҤlG $num = "123.45Miracle" + 1; Perl ݨ[ADniƭȥ[kAҥH|Nr "123.45Miracle" নƭȡAo 123.45AA[W 1A] $num ̫᪺ȴNO 124.45C

@ӨAPerl |ھڹB⤸ӧP_B⤸һݪƫAAӶirMƭȤۤഫAഫGjŦXϥΪ̪ݨDCbLּƱpUAƭȩMrꪺqΩʥiɭP{~AɴNݭn{]p̪JC

HUO Perl B⤸]Comparison Operators^G

B⻡ΩƭȪB⤸ΩrꪺB⤸
۵==eq
۵!=ne
p<lt
j>gt
<=le
>=ge

ѩƭȩMrꪺƧǤkäۦPA]ڭ̥ƭȩMrwqMPB⤸CƭȪOھڼƭȪjpA]UC{XP_NߡA÷|LX "20 > 8 is true!"G

if (20 > 8) { print("20 > 8 is true!"); } ӦrꪺOھڨ ASCII XjpA]UC{XP_Nߡ]ѩB⤸OultvA20 8 |Qr^A÷|LX "20 lt 8 is also true!"G if (20 lt 8) { print("20 lt 8 is also true!"); } bi]weAƭܼƪw]ȬO 0AӦrܼƪw]ȬO ""]Ŧr^CYܼ $x wqAhUC{X|̹B⤸ӦPGG $a = $x + 1; # $x = 0, $a = 1 $str = "Test" . $x; # $x = "", $str = "Test" YƱ Perl ˬd쥼wqܼơAhiHbIs Perl ɡA[Ju-wvﶵ]w N warning^AҦpiΤUC覡Ӱ myprogram.plG perl -w myprogram.pl
Perl