Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things

Re: Difficulty in randomization

by Not_a_Number (Parson)
on Mar 05, 2012 at 19:35 UTC ( #957961=note: print w/replies, xml ) Need Help??

in reply to Difficulty in randomization

Short version for Monks who don't like typing:

use List::Util qw/ shuffle /; my @strings = map { join '', shuffle( ('X') x 10, ('-') x 590 ) } 1 .. + 1000;

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://957961]
[james28909]: yep, i am scraping a websites date/time stamp from an article. none of that is relevant though because the strings i get are as expected. the returned data from the website is the list of @weekdays
[james28909]: i need to convert those @weekdays to an numerical date based off of scalar localtime

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (5)
As of 2017-04-29 03:47 GMT
Find Nodes?
    Voting Booth?
    I'm a fool:

    Results (531 votes). Check out past polls.