Skip to content

Instantly share code, notes, and snippets.

@smonff
Created November 20, 2012 16:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save smonff/4118905 to your computer and use it in GitHub Desktop.
Save smonff/4118905 to your computer and use it in GitHub Desktop.
Generate a hundred UUID.
#!usr/bin/perl
use strict;
use warnings;
use feature(qw/say/);
use Data::UUID;
my $ug = new Data::UUID;
my $idx = 0;
my $uuid;
my $unik;
while ( $idx < 100) {
$idx++;
$uuid = $ug->create();
$unik = $ug->to_string($uuid);
say $unik;
}
say "End.";
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment