Data::Fake::Examples - Examples of combining Data::Fake generators
version 0.006
I plan to add additional examples here over time. Contributions are welcome.
# http://example.com/ # https://www.example.com/ # http://www23.example.com/ use Data::Fake qw/Core Internet/; my $fake_url = fake_template( "%s://%s%s/", fake_pick(qw(http https)), fake_pick( "", "www.", fake_digits("www##.") ), fake_domain(), );
David Golden <dagolden@cpan.org>
This software is Copyright (c) 2015 by David Golden.
This is free software, licensed under:
The Apache License, Version 2.0, January 2004
To install Data::Fake, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Data::Fake
CPAN shell
perl -MCPAN -e shell install Data::Fake
For more information on module installation, please visit the detailed CPAN module installation guide.