On Fri, 01 Apr 2011 10:51:58 +0300, Shlomi Fish wrote:
> 2. The problem with 1E9 is that I think it's a floating point number
> (though Perl 5 may have some intelligence there). Not sure it matterns a
> lot for Perl but if you do something like 1.27E9 you may get weird
> side-effects due to:
Yup,
On Thursday 31 Mar 2011 16:54:14 Peter Scott wrote:
> On Thu, 31 Mar 2011 12:07:41 +0200, Shlomi Fish wrote:
> > Also, Larry Wall has allowed Perl 5 numeric constants to contain
> > underscore so you can write 10**9 as 1_000_000_000 instead of 10
> > which is much less readable and also mor
On Thu, 31 Mar 2011 12:07:41 +0200, Shlomi Fish wrote:
> Also, Larry Wall has allowed Perl 5 numeric constants to contain
> underscore so you can write 10**9 as 1_000_000_000 instead of 10
> which is much less readable and also more error-prone. (Larry Wall)++ .
1E9 seems to capture your i
Hi Uri,
On Thursday 31 Mar 2011 01:19:15 Uri Guttman wrote:
> > "O" == Owen writes:
> O> This will generate 1 files in less than a second. They are 0 size,
> O> so just write something into them if you don't wont zero sized files
>
> might as well clean this up.
>
> O> #!/usr/bin
> "JWK" == John W Krahn writes:
JWK> Uri Guttman wrote:
>> foreach my $i ( 1 .. 1 ) {
JWK> ITYM:
JWK> foreach my $i ( 1 .. ) {
yes. and i also did 1 .. 9 later on. numerical typos is my excuse.
uri
--
Uri Guttman -- u...@stemsystems.com http://www.
Uri Guttman wrote:
"O" == Owen writes:
O> This will generate 1 files in less than a second. They are 0 size,
O> so just write something into them if you don't wont zero sized files
might as well clean this up.
O> #!/usr/bin/perl
O> use strict;
O> my $file = "/some/whe
> "O" == Owen writes:
O> This will generate 1 files in less than a second. They are 0 size,
O> so just write something into them if you don't wont zero sized files
might as well clean this up.
O> #!/usr/bin/perl
O> use strict;
O> my $file = "/some/where/writeable/a1";
O> m
> Thanks all!!
>
> Can someone tell me if you have any experience in generating files
> quickly(not sparse) in unix?
>
> I want to generate millions of files under some directory
>
This will generate 1 files in less than a second. They are 0 size,
so just write something into them if you don't
Thanks all!!
Can someone tell me if you have any experience in generating files
quickly(not sparse) in unix?
I want to generate millions of files under some directory
Thanks in Advance!
On Tue, Mar 29, 2011 at 10:27 PM, Filip Sneppe wrote:
> Hi,
>
> On Tue, Mar 29, 2011 at 4:57 PM, a b wrote:
Hi,
On Tue, Mar 29, 2011 at 4:57 PM, a b wrote:
> Hey Chas,
>
> Thanks much for your reply. I actually want to have some more control over
> this.
>
> Thinking in way to initiate some in parallel also to get rid of ""OS""
> specific things [if there]
>
dd is really pretty limited if you want to u
Hey Chas,
Thanks much for your reply. I actually want to have some more control over
this.
Thinking in way to initiate some in parallel also to get rid of ""OS""
specific things [if there]
thought of minimizing effort to run something which you suggested below. But
seems like, the only option in
On Mon, Mar 28, 2011 at 05:22, a b wrote:
> Thanks Rob
>
> I too was thinking that way. Just in case if any one might have face this
> issue and hence this email
>
> Well if no module i will live with it for time being
snip
The Unix dd command is a swiss army knife of copying data, could you
narr
Thanks Rob
I too was thinking that way. Just in case if any one might have face this
issue and hence this email
Well if no module i will live with it for time being
Regards,
a b
On Mon, Mar 28, 2011 at 2:46 PM, Rob Coops wrote:
> I had a quick look but I can only see people making system call
I had a quick look but I can only see people making system calls using
system() or exec() etc... which sort of makes sense as there is no such
command on pretty much any system except for *nix systems. I think you might
simply have to write your own implementation or simply rely on system calls
to
Hey Rob,
Yes, you are right
Thanks to mention this out.
I was referring to unix dd command. was wondering if we have any module
already available.
i didn't found on cpan
Thx
a b
On Mon, Mar 28, 2011 at 2:05 PM, Rob Coops wrote:
>
>
> On Mon, Mar 28, 2011 at 10:18 AM, a b wrote:
>
>> Hi,
>>
On Mon, Mar 28, 2011 at 10:18 AM, a b wrote:
> Hi,
>
> I want to know if any module for "dd" in perl is available.
>
> Any pointers will a great help
>
> Thanks,
> a b
>
Have you tried having a look at search.cpan.org?
Oh, by the way what does dd stand for? Acronyms are great and all but unless
Hi,
I want to know if any module for "dd" in perl is available.
Any pointers will a great help
Thanks,
a b
17 matches
Mail list logo