$ Bill wrote:
>
> If it is indeed a problem rediecting STDERR (2>&1), you could get cmd.exe
I thought I was trying to redirect STDOUT. It's a moot point, I know. I
mention it only in the off-chance that it makes a difference.
> (there is one for Win9x available at MS) and use that as your shell
Joe Schell wrote:
>
> "$Bill Luebkert" wrote:
> >
> > If it is indeed a problem rediecting STDERR (2>&1), you could get cmd.exe
> > (there is one for Win9x available at MS) and use that as your shell instead
> > of command.com .
> >
>
> Any hints on how one might find it? I tried 'cmd.exe' alon
Hello all,
I've been making my first foray into using threads in Win32 Perl with the
fork() emulation. I'm trying to figure out a way to test if my child
threads are still executing, or have exited. The perlfork documentation
gave me the impression that I could use
kill(0, $pid);
to do
"$Bill Luebkert" wrote:
>
> If it is indeed a problem rediecting STDERR (2>&1), you could get cmd.exe
> (there is one for Win9x available at MS) and use that as your shell instead
> of command.com .
>
Any hints on how one might find it? I tried 'cmd.exe' along with
variations of Win 9x with no
Sisyphus wrote:
>
> John Cope wrote
> >
> > Try using "perl -S ppm.bat install --location=repository.url PackageName
> > >ppm.log"
> >
>
> I tried using that - it runs quickly and produces no out put. Perhaps I
> misunderstand what is required here. I can get it to run as normal if I
> put:
> p
John Cope wrote
>
> Try using "perl -S ppm.bat install --location=repository.url PackageName
> >ppm.log"
>
I tried using that - it runs quickly and produces no out put. Perhaps I
misunderstand what is required here. I can get it to run as normal if I
put:
perl -S ppm.bat install
http://theoryx.u
> Attached is a handy little program I wrote that will insure that all
> variables and subroutines that have been declared within a script are
> actually referenced by the script. It is handy for finding variables that
> have been defined but are never used within a script.
What things does it ca
On Mon, 19 Feb 2001, Greg Wardawy wrote:
> Hello all,
> Is there any way to send a file with a variable filename i.e. vendor$date (where
>$date = "0219.csv") using the Mail::Sender?
> Everything works fine if I put:
> file => 'vendor0219.csv'
> but it doesn't when:
> file => 'vendor$date'
Varia
Ron Grabowski wrote:
>
> > with tie. Here's an example of tieing a hash to count ip addrs (you can substitute
>
> What does that program do ( yes I know it counts IP addresses )? Some
> sample input, output maybe...
Don't have any. Just call it with an IP address as arg 1 or 'create' as arg 1
> From: "Sisyphus" <[EMAIL PROTECTED]>
> Cc: <[EMAIL PROTECTED]>
> Subject: View output of 'ppm install' command
> Date: Mon, 19 Feb 2001 19:53:55 +1100
>
> Hi,
> Can someone tell me how to catch the full output of the ppm command when
> that output 'overflows' the DOS screen ?
> I've tried '| mor
Hi,
Haven't actually worked with UDP - I had enough trouble printing what was
sent to a TCP connection. Based on what I had to do for that exercise I
suggest trying the following. '$len' is a number >= the length of the
message received (in bytes) and $flags='' (2 single quotes, ie void)
$remote
On Mon, Feb 19, 2001 at 03:16:00PM -0700, Joe Schell wrote:
> Presumably requests go to both servers.
Yes, but the resource (an ancient C program) can only be accessed
serially under certain conditions.
> So, I am curious, if you were doing this in unix how would you do it?
Filesystem locks vi
Need double quotes around vendor$date instead of single quotes, in order
for $date to be substituted with its value.
-Bennett
At 04:05 PM 2/19/01 -0600, Greg Wardawy wrote:
>Hello all,
>Is there any way to send a file with a variable filename i.e. vendor$date
(where $date = "0219.csv") u
"Clinton A . Pierce" wrote:
>
> I'm a Unix weenie having a bit of a problem adjusting to the various
> shackles^Wsubtle environment differences in Win32. What I need to implement
> is a locking system for a single resource among multiple processes that
> has a timeout mechanism associated with i
Hello all,
Is there any way to send a file with a variable filename i.e. vendor$date (where $date
= "0219.csv") using the Mail::Sender?
Everything works fine if I put:
file => 'vendor0219.csv'
but it doesn't when:
file => 'vendor$date'
TIA
Greg
__
When you use single quotes, the quoted string is handled exactly as written. In your case, perl looks for a file named vendor$date rather than the file named vendor0219.csv. Try using double quotes instead, so that variables can be recognized as such:
file => "vendor$date"
Ben
At 04:05 PM 2/19
A quick suggestion is to put the headlines in a hash and subsequently check
if they exist, i.e. something like the following:
if ( not exists $headlinelist{$headline} ) {
&do _your_stuff;
}
Gary,
In your code example:
> foreach (@allheadlines)
> {
> # if there's a match on a line, set $found to
> # empty
>if ($_ =~ m/$check_for/i) { print "Dup: $_\n"; $found = ""; }
> }
You never set $found to any other value other than "", i.e. $found always
18 matches
Mail list logo