camel

����ä�Perl�ǡ�

�餢��ë����
��P�η�̤��դ˽񤱤����äơ�C/C++�ʳ��ˤ���Τ���������
my $a = 1;
my $b = 2;
print "a = $a, b = $b\n";
($a < $b ? $a : $b) = 0;
print "a = $a, b = $b\n";
a = 1, b = 2
a = 0, b = 2

�������˾嵭����Ϥ��ޤ�Ȥ��ޤ��󤬡�

my $str = "foobar";
substr($str, 3, 3) = 'dan'; # foodan

�Ȥ������Ū�褯�����ޤ���

���ʤߤˡ�DCONWAY�Ϻ���������(lvalue assignment)�˴ؤ��Ƥϡֽ���뤱�ɤ��Ȥ��ɡפǤ�

��Ϸ빽�����ʤ�����ɤʤ�....


Dan the Lvaluable Man

�ɵ�[2009.05.30]

�ͥ��Ϸ����֤���