Perl Testing

By MoosaX on Dec 14, 2012

testing perl

use strict;

{
    my $counter;

    sub call_me {
        $counter++;
    }
}

print call_me for 1 .. 4;

Comments

Sign in to comment.
Hawkee   -  Dec 14, 2012

Wow, this brings back memories. I haven't done perl for years.

 Respond  
Are you sure you want to unfollow this person?
Are you sure you want to delete this?
Click "Unsubscribe" to stop receiving notices pertaining to this post.
Click "Subscribe" to resume notices pertaining to this post.