FreshPorts -- The Place For Ports If you buy from Amazon USA, please support us by using this link.
Follow us
Blog
Twitter

I am looking for an LTO tape library. Do you have one to spare?
Port details
p5-File-Random 0.17_1 devel on this many watch lists=1 search for ports that depend on this port
Perl module for random selecting of a file
Maintained by: 5u623l20@gmail.com search for ports maintained by this maintainer
Port Added: 22 Jul 2005 11:05:22
Also Listed In: perl5
License: ART10 GPLv1


This module simplifies the routine job of selecting a random file. (As you 
can find at CGI scripts).  It's done, because it's boring (and 
error prone), always to write something like

  my @files = (<*.*>);
  my $randf = $files[rand @files];

or

  opendir DIR, " ... " or die " ... ";
  my @files = grep {-f ...} (readdir DIR);
  closedir DIR;
  my $randf = $files[rand @files];

It also becomes very boring and very dangerous to write randomly selection 
for subdirectory searching with special check-routines.  The simple 
standard job of selecting a random line from a file is implemented, too.

WWW: http://search.cpan.org/dist/File-Random/
SVNWeb : Main Web Site : Distfiles Availability : PortsMon

NOTE: FreshPorts displays only required dependencies information. Optional dependencies are not covered.

Required To Build:
  1. devel/p5-Set-Scalar
  2. devel/p5-Want
  3. lang/perl5.16
Required To Run:
  1. devel/p5-Set-Scalar
  2. devel/p5-Want
  3. lang/perl5.16
There are no ports dependent upon this port

To install the port: cd /usr/ports/devel/p5-File-Random/ && make install clean
To add the package: pkg install devel/p5-File-Random


Configuration Options
     No options to configure

Master Sites:
  1. ftp://ftp.auckland.ac.nz/pub/perl/CPAN/modules/by-module/File/
  2. ftp://ftp.cpan.org/pub/CPAN/modules/by-module/File/
  3. ftp://ftp.cpan.org/pub/CPAN/modules/by-module/File/
  4. ftp://ftp.funet.fi/pub/languages/perl/CPAN/modules/by-module/File/
  5. ftp://ftp.kddlabs.co.jp/lang/perl/CPAN/modules/by-module/File/
  6. ftp://ftp.mirrorservice.org/sites/cpan.perl.org/CPAN/modules/by-module/File/
  7. ftp://ftp.sunet.se/pub/lang/perl/CPAN/modules/by-module/File/
  8. http://backpan.perl.org/modules/by-module/File/
  9. http://cpan.metacpan.org/modules/by-module/File/
  10. http://distcache.FreeBSD.org/ports-distfiles/
  11. http://ftp.jaist.ac.jp/pub/CPAN/modules/by-module/File/
  12. http://ftp.twaren.net/Unix/Lang/CPAN/modules/by-module/File/
  13. http://www.cpan.dk/modules/by-module/File/
  14. http://www.cpan.dk/modules/by-module/File/
  15. http://www.cpan.org/modules/by-module/File/

Number of commits found: 17

Commit History - (may be incomplete: see SVNWeb link above for full details)
DateByDescription
25 May 2014 12:40:53
Original commit files touched by this commit  0.17_1
Revision:355217
sunpoet search for other commits by this committer
- Add LICENSE
- Pass maintainership to submitter
- While I'm here, sort *_DEPENDS

PR:		ports/189582
Submitted by:	Muhammad Moinur Rahman <5u623l20@gmail.com>
29 Oct 2013 12:52:07
Original commit files touched by this commit  0.17_1
Revision:331943
vanilla search for other commits by this committer
Support STAGEDIR.
20 Sep 2013 17:13:47
Original commit files touched by this commit  0.17_1
Revision:327724
bapt search for other commits by this committer
Add NO_STAGE all over the place in preparation for the staging support (cat:
devel part 3)
02 Aug 2013 18:21:06
Refresh Original commit files touched by this commit
Revision:324171  Sanity Test Failure
az search for other commits by this committer
- Convert to new perl framework
05 Jun 2012 18:15:31
Original commit files touched by this commit  0.17_1
ak search for other commits by this committer
- Remove SITE_PERL from *_DEPENDS

Submitted by:   az
Approved by:    eadler (mentor)
15 Feb 2012 16:01:49
Original commit files touched by this commit  0.17_1
swills search for other commits by this committer
- Add missing DEPENDS
- Add TEST_DEPENDS to enable testing
21 Jan 2012 17:40:15
Original commit files touched by this commit  0.17
eadler search for other commits by this committer
At the moment 1385 ports use BUILD_DEPENDS= ${RUN_DEPENDS} and 450
ports use BUILD_DEPENDS:= ${RUN_DEPENDS}. This patch fixes ports that are
currently broken. This is a temporary measure until we organically stop using
:= or someone(s) spend a lot of time changing all the ports over.

Explicit duplication > := > = and this just moves ports one step to the left

Approved by:    portmgr
03 Jul 2011 14:59:23
Original commit files touched by this commit  0.17
ohauer search for other commits by this committer
-remove MD5
21 Dec 2009 02:19:12
Original commit files touched by this commit  0.17
dougb search for other commits by this committer
For ports maintained by ports@FreeBSD.org, remove names and/or
e-mail addresses from the pkg-descr file that could reasonably
be mistaken for maintainer contact information in order to avoid
confusion on the part of users looking for support. As a pleasant
side effect this also avoids confusion and/or frustration for people
who are no longer maintaining those ports.
23 May 2008 21:18:39
Original commit files touched by this commit  0.17
olgeni search for other commits by this committer
Hunt for typos in devel/p5-*.
29 Apr 2008 05:27:10
Original commit files touched by this commit  0.17
linimon search for other commits by this committer
Reset aaron's port maintainerships due to many maintainer-timeouts.
17 Apr 2008 14:30:31
Original commit files touched by this commit  0.17
araujo search for other commits by this committer
- Take advantage of CPAN macro from bsd.sites.mk, change
${MASTER_SITE_PERL_CPAN} to CPAN.

PR:             ports/122674
Submitted by:   Philip M. Gollucci <pgollucci@p6m7g8.com>
Reworked by:    araujo (myself)
Approved by:    portmgr (pav)
08 Sep 2007 00:57:38
Original commit files touched by this commit  0.17
linimon search for other commits by this committer
Welcome bsd.perl.mk.  Add support for constructs such as USE_PERL5=5.8.0+.
Drop support for antique perl.

Work done by:   gabor
Sponsored by:   Google Summer of Code 2007
Hat:            portmgr
23 May 2006 16:34:19
Original commit files touched by this commit  0.17
aaron search for other commits by this committer
- Updated maintainer
- Corrected IGNORE message

Approved by:    tobez (implicit)
22 Jan 2006 08:30:12
Original commit files touched by this commit  0.17
edwin search for other commits by this committer
SHA256ify

Approved by:    krion@
22 Jan 2006 01:48:34
Original commit files touched by this commit  0.17
edwin search for other commits by this committer
Replace ugly "@unexec rmdir %D... 2>/dev/null || true" with @dirrmtry

Approved by:    krion@
PR:             ports/88711 (related)
22 Jul 2005 11:04:36
Original commit files touched by this commit  0.17
erwin search for other commits by this committer
Add p5-File-Random 0.17, perl module for random selecting of a file.

PR:             ports/82864
Submitted by:   Aaron Dalton <aaron@daltons.ca>

Number of commits found: 17

Login
User Login
Create account

Servers and bandwidth provided by
New York Internet, SuperNews, and RootBSD

This site
What is FreshPorts?
About the authors
FAQ
How big is it?
The latest upgrade!
Privacy
Forums
Blog
Contact

Search
Enter Keywords:
 
more...

Latest Vulnerabilities
firefoxJul 23
firefox-develJul 23
firefox-esrJul 23
firefox10Jul 23
firefox15Jul 23
firefox3Jul 23
firefox3-develJul 23
firefox35Jul 23
firefox36Jul 23
linux-firefoxJul 23
linux-thunderbirdJul 23
nssJul 23
thunderbirdJul 23
thunderbird-esrJul 23
thunderbird3Jul 23

9 vulnerabilities affecting 26 ports have been reported in the past 14 days

* - modified, not new

All vulnerabilities


Ports
Home
Categories
Deleted ports
Sanity Test Failures
Newsfeeds


Statistics
Graphs
NEW Graphs (Javascript)
Traffic

Calculated hourly:
Port count 24425
Broken 194
Deprecated 792
Ignore 529
Forbidden 16
Restricted 263
No CDROM 102
Vulnerable 27
Expired 21
Set to expire 779
Interactive 13
new 24 hours 2
new 48 hours3
new 7 days18
new fortnight49
new month104

Servers and bandwidth provided by
New York Internet, SuperNews, and RootBSD
Valid HTML, CSS, and RSS.
Copyright © 2000-2014 Dan Langille. All rights reserved.