perldoc perlfaq
- Original Message -
From: "Brian Volk" <[EMAIL PROTECTED]>
To: "Tim Musson" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Sunday, September 08, 2002 2:04 AM
Subject: Re: system function question
> Thank you. I didn't re
Thank you. I didn't realize you could do that... How can you find a
list of all the questions in perldoc?
Thanks again,
Brian
Tim Musson wrote:
>Hey Brian,
>
>My MUA believes you used Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.4)
>Gecko/20011126 Netscape6/6.2.1
>to write the f
Hey Brian,
My MUA believes you used Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.4)
Gecko/20011126 Netscape6/6.2.1
to write the following on Saturday, September 7, 2002 at 10:00:23 PM.
BV> Hi All,
BV> I'm trying to write a program that will calculate the number of days
BV> between
Hi All,
I'm trying to write a program that will calculate the number of days
between two dates. I thought it would be easy enough to write... but I
thought wrong.
One of the dates is fixed:
$start_date = system "date --d 20020607";
The other date is the current date:
$todays_date = system "d
Thursday, December 13, 2001, 8:28:53 PM, Mike Gargiullo wrote:
> ok... I'm writing a perl program that will use scp to copy a file from
> one machine to another securely.
> The problem is that scp asks for the users password... how can I have
> perl answer scp's request for a password...
> by h
>
> ok... I'm writing a perl program that will use scp to copy a file from
> one machine to another securely.
>
> The problem is that scp asks for the users password... how can I have
> perl answer scp's request for a password...
>
> by hand it looks like so;
>
> $$scp -C test [EMAIL PROT
ok... I'm writing a perl program that will use scp to copy a file from
one machine to another securely.
The problem is that scp asks for the users password... how can I have
perl answer scp's request for a password...
by hand it looks like so;
$$scp -C test [EMAIL PROTECTED]:test
[EMA
On Thu, Sep 13, 2001 at 08:23:10AM -0600, Michael Burnside wrote:
> Using the code below works great if STDOUT is the terminal, but when
> trying to pipe it to a file the two system() functions run first and the
> print() statements run second, illustrated below as well. Anyone have a
> clue why?
Hello Michael,
I tried to duplicate your error, but was unable to. This is my test script
which is modelled on your origninal script:
#!/usr/bin/perl -w
use strict;
foreach my $foo qw(a b) {
print "$foo\n";
system ("echo hi $foo");
print "hello $foo\n";
print "\n";
}
Regardless of
Using the code below works great if STDOUT is the terminal, but when trying to pipe it
to a file the two system() functions run first and the print() statements run second,
illustrated below as well. Anyone have a clue why?
--BEGIN excerpt from code--
foreach $elem (@test_list)
{
10 matches
Mail list logo