UBB.Dev
Posted By: el84 Yet Another Perl Challenge - 04/06/2001 9:13 PM
This should be easy and fun.

Open the ubb_lib.cgi file in UBB603. Find the following line:

sub UBBCode {

Look at the two lines of code just below that. Write some Perl code that is functionally equivalent to these lines. Use as few characters as possible.

Note: Please DO NOT post any UBB source code here. Just post your own version of the two lines.

laugh
Posted By: cal Re: Yet Another Perl Challenge - 04/07/2001 11:45 AM
Okay, you've got me. Those lines don't appear to do anything.

Just a thought smile
Posted By: Greg Hard Re: Yet Another Perl Challenge - 04/07/2001 4:39 PM
[ April 07, 2001: Message edited by: MasterMind ]
Posted By: Sally Re: Yet Another Perl Challenge - 04/07/2001 4:55 PM
Quote
quote:

erm, mastermind...
Posted By: el84 Re: Yet Another Perl Challenge - 04/07/2001 6:05 PM
Ding ding ding! Cal wins!

It was a trick question. Here is the correct answer:

Code
code:

The first lines in the UBBCode sub were modified slightly for 602, probably to solve the disappearing " character after a URL tag. Don't worry, it's not really a bug or anything bad. The lines just don't do anything now.

See, it was easy laugh
Posted By: cal Re: Yet Another Perl Challenge - 04/09/2001 9:56 AM
hahahahahahahahahaha

Just a thought smile
© UBB.Developers