[EMAIL PROTECTED] <> wrote:
> Dear All,
>
> I found a video capture that does what I'm looking for - capture
> until the end of a recording, then dump a small log file. I'm
> writing a small script that scans a directory looking for new files,
> namely, that log file.
>
> Ideally, it scans on
Dear All,
I found a video capture that does what I'm looking for - capture until the
end of a recording, then dump a small log file. I'm writing a small
script that scans a directory looking for new files, namely, that log
file.
Ideally, it scans once a minute to look for this file, and, if it i
- Original Message -
From: "Charles K. Clarkson" <[EMAIL PROTECTED]>
To: "'ActivePerl'"
Sent: Tuesday, June 13, 2006 4:28 AM
Subject: RE: hash copy
Petr Vileta wrote:
: I have public hash and in sub{}
A public hash sounds like a really bad idea. Why not use a
lexically scoped has
I've always liked doing it this way, but that's just me:
for my $i (0..100) {
my $fi='0'x(3-length($i)).$i;
print "$fi\n";
}
Note that it pads to 3 characters. If you want 2, change the 3 to a 2.
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Beh
> Hi, dear colleagues.
> In a script I wish to build a name (string), which consists also an
> countervalue, derived from a loop counter.
> For the small values (0 to 9) shall the string consist the leading zero (00
> 09).
> Whats to do?
> At the moment I dont see the solution, so big th
A simple example might be of use to you.
# build a name based on a counter variable with leading zeros for values
less than 10
use strict;
use warnings;
my $name; # the name string we are building
# count from 1 to 20 for demonstration
for ( my $count =
- Original Message -
From: "Mario R. Sanchez, Ph.D." <[EMAIL PROTECTED]>
To:
Sent: Monday, June 12, 2006 2:53 AM
Subject: javascript invokes .pl but no cgi output
dear gurus
i have the following script pl.pl (yes, ugly but it works...)
---
#!/usr/bin/perl
#pl.pl
use
Charles K. Clarkson <> wrote:
> Petr Vileta wrote:
>
>> I have public hash and in sub{}
>
> A public hash sounds like a really bad idea. Why not use a
> lexically scoped hash and specifically pass it into the sub?
>
>
>> Example with success but maybe is possible to write it better:
>>
>>
Mario R. Sanchez, Ph.D. wrote:
: i have the following script pl.pl (yes, ugly but it works...)
[ snipped ugly code :) ]
: ###displays graphic numbers
: print "Content-type:text/html\n\n";
: print "COUNTERING OF
: JS.PL\n"; print "ALO\n";
: print qq();
: print "\n";
: exit;
: ---
Horst Walther wrote:
> Hi, dear colleagues.
> In a script I wish to build a name (string), which consists also an
> countervalue, derived from a loop counter.
> For the small values (0 to 9) shall the string consist the leading zero (00
> 09).
> Whats to do?
> At the moment I dont see th
Mario R. Sanchez, Ph.D. wrote:
> dear gurus
>
> i have the following script pl.pl (yes, ugly but it works...)
> ---
My version at end. PS: Nobody uses counters these days.
>
>
> this script works as i want it to - the counter adds and the graphics
> displ
11 matches
Mail list logo