> "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
Hello Magnus Woldrich,
please can you send NON-ENCRYPTED messages please?
Thanks, Greetings and nice Day/Evening
Michelle Konzack
--
# Debian GNU/Linux Consultant ##
Development of Intranet and Embedded Systems with Debian GNU/Linux
itsystems@tdne
> 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
On 11-03-30 03:29 PM, Bryan R Harris wrote:
I don't have any yet. I was just wondering if there was a module that would
write out .png files reliably...
There's a number of them. Try GD to start.
http://search.cpan.org/~lds/GD-2.45/GD.pm
--
Just my 0.0002 million dollars worth,
Shawn
> On 11-03-30 11:36 AM, Bryan R Harris wrote:
>>
>>
>> All,
>>
>> Is it possible to build an image one pixel at a time, e.g. to have a data
>> structure that looks like this:
>>
>> $i{channel}[x][y]
>>
>> ... where channel is r,g,b, or a, and x and y are the pixel coordinates.
>> Then, once
On 11-03-30 12:58 PM, siegfr...@heintze.com wrote:
Can you explain to me why the camel book uses all caps for file handles that are
not preceded by a "@", "%", "$" or "*" and you use "$fh"? What are the rules for
declaring file handles? I thought file handles were wierdo's and had to be
declared
siegfr...@heintze.com wrote:
I apologize if this appears twice. Since I sent it once and forgot to
abandon HTML in favor of plain text, I'm sending it again.
This works:
$ perl -e ' $s = ; print "$s\n"; '
I don't like it because is hard coded. What if I want to
conditionally read from a fil
On 11-03-30 11:36 AM, Bryan R Harris wrote:
All,
Is it possible to build an image one pixel at a time, e.g. to have a data
structure that looks like this:
$i{channel}[x][y]
... where channel is r,g,b, or a, and x and y are the pixel coordinates.
Then, once I have the data filled out, call so
On 11-03-30 11:10 AM, siegfr...@heintze.com wrote:
I apologize if this appears twice. Since I sent it once and forgot to
abandon HTML in favor of plain text, I'm sending it again.
This works:
$ perl -e ' $s = ; print "$s\n"; '
I don't like it because is hard coded. What if I want to
cond
All,
Is it possible to build an image one pixel at a time, e.g. to have a data
structure that looks like this:
$i{channel}[x][y]
... where channel is r,g,b, or a, and x and y are the pixel coordinates.
Then, once I have the data filled out, call some module and write out a .png
file?
- Bryan
I apologize if this appears twice. Since I sent it once and forgot to
abandon HTML in favor of plain text, I'm sending it again.
This works:
$ perl -e ' $s = ; print "$s\n"; '
I don't like it because is hard coded. What if I want to
conditionally read from a file?
Here is my attempt to s
On 11-03-30 08:34 AM, Katie T wrote:
"perl -c" will check your script without executing it.
Not exactly. From `perldoc perlrun`:
-c causes Perl to check the syntax of the program and then exit without
executing it. Actually, it will execute "BEGIN", "UNITCHECK", "CHECK",
and "use" blocks,
On Tue, Mar 29, 2011 at 7:04 AM, Magnus Woldrich wrote:
>
>
"perl -c" will check your script without executing it.
Katie
--
CoderStack
http://www.coderstack.co.uk/asp-jobs
The Software Developer Job Board
On Wed, Mar 30, 2011 at 00:28, Brian Fraser wrote:
> On Wed, Mar 30, 2011 at 12:46 AM, Chas. Owens wrote:
>>
>> If you are dealing exclusively with ASCII, then you should be using
>> the [bytes][0] pragma;
>
> It's nitpicky, but I'd advice against ever recommending use bytes in the
> beginners l
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:
From: Jim Gibson
> At 9:18 PM -0400 3/29/11, Chas. Owens wrote:
>
> >It is important to note that \d
> >doesn't match what you think it does. Starting with Perl 5.8, \d
> >matches and digit character. This includes characters such as
> >"\x{1815}" (Mongolian digit five). To match the ASCII dig
18 matches
Mail list logo