<outcast>
use Another::Cookie_Cutter::Reality::Show;
$show = Another::Cookie_Cutter::Reality::Show->$new('American_Idol');
foreach(@week)
{
$show->$#contestants = $show->$#contestants - 1;
for($x = 0; $x <= $show->$#contestants; $x++)
{
if($_ eq "Ruben")
{
$holder = $_;
$_ = $show->$contestants[0];
$show->$contestants[0] = $holder;
last;
}
)
$show->$comic_relif = 'Simon';
$show->$hot_chic = 'Paula';
$show->$big_attraction = 'Karaoke Style Singing';
$result = &end_show;
print result."\n";
sub end_show
{
return $show->end_result('more crap');
}
</outcast>
<paula>You did really well, I liked your poem, it flowed really well.</paula>
<randy>look dawg, you wrote a good poem, you missed an ending curly brace on your for loop, but you were probably nervous, overall, I thought it was ok...ok.</randy>
<simon>I disagree...your perl performance here is sub-standard, if you coded this way at the tryouts, you wouldn't even have made it past the syntax checker.</simon>
:-)
-- hiseldl What time is it? It's Camel Time!
-
Are you posting in the right place? Check out Where do I post X? to know for sure.
-
Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
<code> <a> <b> <big>
<blockquote> <br /> <dd>
<dl> <dt> <em> <font>
<h1> <h2> <h3> <h4>
<h5> <h6> <hr /> <i>
<li> <nbsp> <ol> <p>
<small> <strike> <strong>
<sub> <sup> <table>
<td> <th> <tr> <tt>
<u> <ul>
-
Snippets of code should be wrapped in
<code> tags not
<pre> tags. In fact, <pre>
tags should generally be avoided. If they must
be used, extreme care should be
taken to ensure that their contents do not
have long lines (<70 chars), in order to prevent
horizontal scrolling (and possible janitor
intervention).
-
Want more info? How to link
or How to display code and escape characters
are good places to start.
|