logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

Data::Fake::Examples - Examples of combining Data::Fake generators

Author

       David Golden <dagolden@cpan.org>

Examples

       I plan to add additional examples here over time.  Contributions are welcome.

   URLs
           # 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(),
           );

Name

       Data::Fake::Examples - Examples of combining Data::Fake generators

Version

       version 0.006

See Also