in reply to Re^2: Truely Unique Code Set?
in thread Truely Unique Code Set?

Hello again Dave, I'm not sure if you'll be notified of a new reply to this thread, however, I'll ask away in the hope that it will be seen.
I've generated the codes successfully and am now wishing to import them (as a CSV text file) into MySQL to form a table. I'm stumped as to where I could make an adjustment near the 'say' method (within your kindly provided program) so that a comma is inserted directly after each random value, so that the resultant file could then be imported into MySQL via MyPhpAdmin GUI.
Thanks!
Rich
I dove into the C, found a Shell and inside was a PERL.

Replies are listed 'Best First'.
Re^4: Truely Unique Code Set?
by GrandFather (Saint) on Oct 20, 2011 at 20:02 UTC

    If you have access to the MySQL database from the machine you are running the script on you can instead insert the data directly into the database using DBI and DBD::mysql.

    True laziness is hard work
      Thanks GrandFather, I did wonder about that. I guess my next step is to see if those modules are already installed with PERL 5.8.8 - as a newbie with PERL, I've had some prior trouble attempting to install modules from CPAN etc... Cheers, Rich.

        Neither are core modules. DBI should be a normal install. DBD::mysql may require MySQL development files installed on your machine first and can be a bit tricky depending on the OS you are using.

        True laziness is hard work