>> > my $user="Craig"
>> > for (x=0; x<=5; x++) {
>> > slap($user);
>> > };
>>
>> Can't modify constant item in scalar assignment at slap.pl line 2, near
>> "0;"
>> slap() will now backfire.
>> Have a nice day.
>
> Blasted dollar signs! ;-)
>
> Simply to pick nits, your error message is incorrect. Perl would first
> be whining about the lack of a ";" on line one.
Why, so it would. And like I have any room to complain about nitpicking. ;)
-----------------------------------------------------------------------
This list is provided as an unmoderated internet service by Networked
Knowledge Systems (NKS). Views and opinions expressed in messages
posted are those of the author and do not necessarily reflect the
official policy or position of NKS or any of its employees.
This archive was generated by hypermail 2.1.3 : Fri Aug 01 2014 - 17:51:56 EDT