Ok sounds liek your firewall doesnt bind to the 192 address. When connecting
to your FTP enter "passive" be4 you do ls and it should work fine. See the
http://www.w3.org/Protocols/rfc959/ for more details on FTP modes. If that
works then make sure you put the FTP client mode to Firewall mode { pass
"R. Joseph Newton" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Hi,
>
> Is there any way to feed a query string to a perl script from the command
line? I have some scripts that run well under IIS, but not on the Unix
server where I will be porsting them when
"Patricia Hinman" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Hi everyone,
>
> I know it's Christmas eve, and I should be enjoying
> myself, but that's about all that's here tonight,
> (myself).
>
> So I thought I would jump into mysql and learn the
> basi
> "R" == R Joseph Newton <[EMAIL PROTECTED]> writes:
R> Hi Randal,
R> I must take issue with you here.
And therefore, you misunderstood my purpose.
You have not *seen* the amount of cargo-cult c**p that I've seen
in advising people about Perl over 13 years.
Maybe it's interesting to know ho
Hi everyone,
I know it's Christmas eve, and I should be enjoying
myself, but that's about all that's here tonight,
(myself).
So I thought I would jump into mysql and learn the
basics.
I've found lot's of info for people who enter data on
the command line, but I would like to use a script to
cr
Hi Wendy,
I'm not sure exactly what you want. Do you get errors when you run the script? I do
see one possible cause for an error where you have:
$SelectQualifier = (ars_LoadQualifier($ctrl, "$SCHEMA", "('Modified-date'
>=(\$TIMESTAMP\$ - 60*60) OR 'Create-date' >= (\$TIMESTAMP
\$ - 60*60))
Not
Hi,
Is there any way to feed a query string to a perl script from the command line? I
have some scripts that run well under IIS, but not on the Unix server where I will be
porsting them when they go live. I've checked the obvious things-- it has the proper
#!/usr/bin/perl-w header, it address
Do you have a snapshot of what the data looks like, so one can use
__DATA__ to process through the data? Unsure what a Remedy form is? I am
assuming all the subs are yours which you have created.
Wags
-Original Message-
From: Wendy Stewart [mailto:[EMAIL PROTECTED]]
Sent: Tuesd
Mark, I can log in from the Windows XP cmd line, but if I try to do an ls I
get a 'port command successful' but nothing returned from the ls command.
If I ftp directly to my server machine (192.168.0.10) and bypass the
firewall as you observed, then when I do an ls, I get a response back from
the s
Hi Bob,
See below
> > would like to suck the whole file into memory and processing
> > each line from
> > there.
>
Bob Showalter wrote:
>
> I'm not sure what that accomplishes for you, but...
Really? In that case, you may be vastly underestimating the cost of I/O on
performance. Bear in mi
Hi,
Help!! I'm a new Perl user and have devloped my first Perl script to
extract fields from a Remedy form into a CSV file to be ftp'd elsewhere. I
need to sort each record on Modified-date before writing to my output file.
The Modified-date format is in absolute time
(ie: 12/24/2002 7:17:13 P
192is a privat address, this never get to the firewall.
It seems that your port 21 is totally blocked. Can you login to your ftp
server from the prompt ?? try from shell
#FTP ftp.lforeman.homeip.net
#user pass
#passive
- Original Message -
From: "Foreman" <[EMAIL PROTECTED]>
To: <[EM
load the file in to the array @lines
then run following
chomp(@lines); # removes all the new lines
foreach $line (@lines){
#process $line
}
- Original Message -
From: "Schwedler Kofoed" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, December 24, 2002 5:04 AM
Subject: f
In article <[EMAIL PROTECTED]>,
[EMAIL PROTECTED] (Dan) writes:
>I need my program to resolve hosts to IP's, and vice versa. I came across
>the Net::DNS module on CPAN, but have no idea how to just give it a host,
>and get it to return an IP, and vice versa. The help for it doesn't make
>sense to
MERRY CHRISTMAS TO ALL, WITH PEACE AND LOVE.
MY BEST WISHES
Ricardo Derbes
Altec SE
AlbarracĂn 157 - San Carlos de Bariloche
+54-2944-426892
[EMAIL PROTECTED]
- Original Message -
From: "Paul Johnson" <[EMAIL PROTECTED]>
To: "Kieren Diment" <[EMAIL PROTECTED]>
Cc: "Perl Beginners" <[EMAI
On Tue, Dec 24, 2002 at 08:38:35AM +1100, Kieren Diment wrote:
> I'd like to know if it's possible to combine the -i and -e switches.
> I have the following script, and I'd like not to have to go to the
> bother of firing up an editor, chmod +x ing it and co:
>
> #!/usr/bin/perl -w
> open FILE, $
disregard I had a sneaky last statement messing me up.
> -Original Message-
> From: Paul Kraus [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, December 24, 2002 9:11 AM
> To: 'Perl'
> Subject: Readdir
>
>
> Correct me if I am wrong but this should return a directory listing?
>
> use consta
I need my program to resolve hosts to IP's, and vice versa. I came across
the Net::DNS module on CPAN, but have no idea how to just give it a host,
and get it to return an IP, and vice versa. The help for it doesn't make
sense to me either :(
All help much appreciated.
Dan
--
To unsubscribe,
Correct me if I am wrong but this should return a directory listing?
use constant backupdir => "/";
opendir BACKUP, BACKUPDIR or die "Cannot open ".BACKUPDIR."!";
print "$_\n" foreach (readdir BACKUP);
Paul Kraus
Network Administrator
PEL Supply Company
216.267.5775 Voice
216-267-6176 Fax
www.p
> -Original Message-
> From: Schwedler Kofoed [mailto:[EMAIL PROTECTED]]
> Sent: Monday, December 23, 2002 6:04 PM
> To: [EMAIL PROTECTED]
> Subject: file into memory
>
>
> Hi all,
>
> I would like to open a file with the content:
>
> peter 141444
> oscar e324345
> simon j85547
>
> in
> -Original Message-
> From: Paul Kraus [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, December 24, 2002 2:10 PM
> To: 'Mystik Gotan'; Perl
> Subject: RE: Perl Learning Paths
>
>
> Helped a lot. I also have the pocket reference and find it an
> indispensable tool. Perldoc seems hard to use
You might check into: Proc::ProcessTable
http://search.cpan.org/author/DURIST/Proc-ProcessTable-0.38/ProcessTable.pm
http://danconia.org
On Tue, 24 Dec 2002 18:25:18 +0530, Ramprasad <[EMAIL PROTECTED]> wrote:
> Hi,
>
>I am looking for a mo
Should work according to the examples in
perldoc perlrun
Search for the -i.
http://danconia.org
On Tue, 24 Dec 2002 08:38:35 +1100, Kieren Diment <[EMAIL PROTECTED]> wrote:
> I'd like to know if it's possible to combine the -i and -e switches
Helped a lot. I also have the pocket reference and find it an
indispensable tool. Perldoc seems hard to use because you need to know
the function you want to look before hand. Unless I am using it wrong?
> -Original Message-
> From: Mystik Gotan [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday,
Hi,
I am looking for a module that can help me get process info like
process name , process start time etc
I am using linux ( redhat 7.2 )
Can someone give me any pointers
Thanks all
Ram
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Oops, it's only for Linux. But it looks good. I'll certainly recommend it
for Linux ppl :)
--
Bob Erinkveld (Webmaster Insane Hosts)
www.insane-hosts.net
MSN: [EMAIL PROTECTED]
From: [EMAIL PROTECTED]
To: "Paul Kraus" <[EMAIL PROTECTED]>, "'Perl'" <[EMAIL PROTECTED]>
Subject: RE:
Looks great! I think I'll be giving it a try. I forget things all the time
;)
--
Bob Erinkveld (Webmaster Insane Hosts)
www.insane-hosts.net
MSN: [EMAIL PROTECTED]
##
Well it is probably off topic, but a good discussion anyways. Seems like
some combination of cvs/rcs+bugzilla
Thanks Naryan.
This is my old while/for dyslexia playing me up again :-/
I think you're wrong about the interpolation though. while () won't take a
control variable and I doubt it will compile in this form.
Cheers,
Rob
"Narayan Kumar" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">new
OK, what you've written looks exactly right, which means your problem is
somewhere else. We need to see more of your code, and to know why you think
it's not working. (Don't forget to close the file after reading it!!)
Just one thought: you need to be aware that each of your array elements has
the
I am very new to perl.
I dont think I get your question.
How about using "foreach" instead of "while".
foreach ( @xx )
{
.
}
while $file ( @xx ) will actually be interpolated to,
$file("peter 141444 \noscar e324345 \nsimon j85547\n");
which is as good as $file(0); and will never work.
Nara
You might also try ChameleonLog from LockwoodTech Software. They also makes
some nice Microsoft SQL Server software as well.
http://www.lockwoodtech.com/
It's try before you buy and the 1 user license is < US$35.00. It may fit
your needs if you need something between MS Outlook and Project.
--
K
Hi all,
I would like to open a file with the content:
peter 141444
oscar e324345
simon j85547
in a perl script - but instead of reading the file one line at a time I
would like to suck the whole file into memory and processing each line from
there.
I have tried to:
open FILE, "< tmp.txt";
@xx
I'd like to know if it's possible to combine the -i and -e switches.
I have the following script, and I'd like not to have to go to the
bother of firing up an editor, chmod +x ing it and co:
#!/usr/bin/perl -w
open FILE, $ARGV[0];
while ()
{
print if (/(^org_name)|(^email)|(^$)/);
Hi. I am able to get to my ftp server through Internet explorer if I set the "Use
Passive FTP for compatability..." to true in the Internet Options menu. Otherwise, I
can only get to my ftp server using the local IP address. Presumably, using passive
mode in ftp (pasv) should get me the same
34 matches
Mail list logo