Added: 4 years ago
From: bermnz
Views: 7,932
Sort by time | Sort by thread (beta)

Link to this comment:

Share to:
see all

All Comments (11)

Sign In or Sign Up now to post a comment!
  • Can anybody tell me what's wrong with this script?

    @array = ("orange","green","blue","blac­k","red");

    @reversed = reverse(@array);

    print "@reversed\n";

  • It works fine for me, nothing wrong.

  • your awesome

  • Haha, I couldn't tell that was a C there in cmp.

    I thought it was an a first, and then I tried an o, and then a c.

  • lousy tutorial.

    if you could sort with just plain old sort, and reverse, why bother with the comparison operator?

    An explanation for the USE of the comparison operator would be ideal.

  • is the exit statement necessary?

  • No, it is not.

    However, I always indicate end of a script with "__END__"

  • Hooray for these tutorials:)

  • It's the greatest tutorial I've ever seen! Many many thanks.

  • thanks

  • Great tutorial, just as much is needed. Thanks loads. Please keep going..

  • Super I am loving it. thanks.

  • Your welcome!

Loading...
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more