in reply to A Perl aptitude test
The first question is trick. First doesn't make sence write it, since why add 3 to the 1 returned of the print if you aren't catching the print return?
And you should write:
I think that you can skeep this question, since you are testing a code that doesn't make sence! There's much better things that you can test. Like ask to make a simple OO module, make a tie object, and use DBI.print ((2*3)+3) ; # if you want to print 9 # or... $ret = (print(2*3)) + 3 ;
The other questions are fine.
Graciliano M. P.
"The creativity is the expression of the liberty".
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: A Perl aptitude test
by Aristotle (Chancellor) on May 03, 2003 at 01:16 UTC |