nikos has asked for the wisdom of the Perl Monks concerning the following question:
#!/usr/bin/perl -w use strict; use Template; my $template=new Template; $template->process(\*DATA) || die $template->error; __DATA__ 8 and 1 = [% 8 and 1 %] (should be 0, if we use a bitwise operator) 8 or 1 = [% 8 or 1 %] (should be 9, if we use a bitwise operator)
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Template toolkit binary operations
by Zaxo (Archbishop) on Oct 09, 2004 at 17:18 UTC | |
by nikos (Scribe) on Oct 09, 2004 at 21:06 UTC | |
|
Re: Template toolkit binary operations
by talexb (Chancellor) on Oct 09, 2004 at 17:18 UTC | |
by nikos (Scribe) on Oct 09, 2004 at 21:01 UTC |