Another day, another problem.. =/
--
tes...@krauzer:~/Perl/Ex/ch15$ cat smart

use 5.010;

use strict;

use warnings;



my @divisors = (1, 2);

say "It's divisible by 2!" if @divisors ~~ 2;

tes...@krauzer:~/Perl/Ex/ch15$ perl smart

tes...@krauzer:~/Perl/Ex/ch15$ 

--

Why "@divisors ~~ 2" is not true? 




--
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/


Reply via email to