Hi,
I have line in input file as below:
3G_CENTRAL;INDONESIA_(M)_TELKOMSEL;SPECIAL_WORLD_GRP_7_FA_2_TELKOMSEL
My expected output for line in the file must be :
"1-Radon1-cMOC_deg"|"LDIndex"|"3G_CENTRAL|INDONESIA_(M)_TELKOMSEL"|LAST|"SPECIAL_WORLD_GRP_7_FA_2_TELKOMSEL"
Can someone... (7 Replies)
I'm trying to make use of mkdir(char *pathname, S_IRWXU) to create the directories.
but it only creates one directory at a time. so I have to separate the tokens for "/home/blah1/blah2/blah3" as "home blah1 blah2 blah3" using delimiter "/", but it is again hectic to create such directory... (8 Replies)
Crypt::Random::Source::Base(3pm) User Contributed Perl Documentation Crypt::Random::Source::Base(3pm)NAME
Crypt::Random::Source::Base - Abstract base class for Crypt::Random::Source classes
SYNOPSIS
use Moose;
extends qw(Crypt::Random::Source::Base);
DESCRIPTION
This is an abstract base class.
In the future it will be a role.
METHODS
get $n, %args
Gets $n random bytes and returns them as a string.
This method may produce fatal errors if the source was unable to provide enough data.
read $buf, $n, [ $off ]
This method is cannibalized from IO::Scalar. It provides an IO::Handle work-alike.
Note that subclasses override this to operate on a real handle directly if available.
seed @stuff
On supporting sources this method will add @stuff, whatever it may be, to the random seed.
Some sources may not support this, so be careful.
available
This is a class method, such that when it returns true calling "new" without arguments on the class should provide a working source of
random data.
This is use by Crypt::Random::Source::Factory.
rank
This is a class method, with some futz value for a ranking, to help known good sources be tried before known bad (slower, less available)
sources.
get_data %Params
Provided for compatibility with Crypt::Random
AUTHOR
Yuval Kogman <nothingmuch@woobling.org>
COPYRIGHT AND LICENSE
This software is copyright (c) 2011 by Yuval Kogman.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
perl v5.14.2 2011-01-05 Crypt::Random::Source::Base(3pm)