Faker::Plugin::InternetIpAddress - Internet Ip Address
Internet Ip Address for Faker
1.19
package main; use Faker::Plugin::InternetIpAddress; my $plugin = Faker::Plugin::InternetIpAddress->new; # bless(..., "Faker::Plugin::InternetIpAddress")
This package provides methods for generating fake data for internet ip address.
This package inherits behaviors from:
Faker::Plugin
This package provides the following methods:
execute(HashRef $data) (Str)
The execute method returns a returns a random fake internet ip address.
Since 1.10
1.10
package main; use Faker::Plugin::InternetIpAddress; my $plugin = Faker::Plugin::InternetIpAddress->new; # bless(..., "Faker::Plugin::InternetIpAddress") # my $result = $plugin->execute; # "108.20.219.127"; # my $result = $plugin->execute; # "7680:93e0:88b2:06a0:c512:99e4:e8a9:7d48"; # my $result = $plugin->execute; # "89.236.15.220";
new(HashRef $data) (Plugin)
The new method returns a new instance of the class.
Awncorp, awncorp@cpan.org
awncorp@cpan.org
Copyright (C) 2000, Al Newkirk.
This program is free software, you can redistribute it and/or modify it under the terms of the Apache license version 2.0.
To install Faker, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Faker
CPAN shell
perl -MCPAN -e shell install Faker
For more information on module installation, please visit the detailed CPAN module installation guide.