RE: Finding a file Name

2001-02-07 Thread Trevor Joerges
Title: RE: Finding a file Name The File::Find or File::Recurse modules should help you. Just look in the online documentation for examples. Kind regards, Trevor J. Joerges $_=q;$TTnzyUUifyIIz!;;s;z;xdl;g; y;x;b

Net::FTP question

2001-02-07 Thread Lavery, Michael
Hello group, I have got a two part question. How can I connect to a Unix host from NT4 and run a shell script? Why doesn't the code below work to do an FTP get? (I know it has something to do with the variable $FTP not being a blessed reference). Thanks, Michael code follows: #!/u

RE: :FTP question

2001-02-07 Thread Christopher Hahn
Michael, You could use rsh to invoke a command on the unix box. NT comes with a rsh call. (or at least Win2K does...) Good Luck, Christopher P.S. Please confirm that you did not just send your password to the entire world! ;-0 > -Original Message- > From: Lavery, Michael [mailto:[EM

RE: :FTP question

2001-02-07 Thread Jones Robert Contr 81 CS/SCK
Please do not transfer login IDs, passwords and IP addresses / Domain names on this list. Even if everyone here was a trusted person, it's still a bad practice adn can cause some serious repercussions. -Original Message- From: Lavery, Michael [mailto:[EMAIL PROTECTED]] Sent: Wednesday,

RE: :FTP question

2001-02-07 Thread Lavery, Michael
Oops! I did, but the connection is to a local box. 192... Even so I should be changing it right about now. Heheh, thanks for pointing that out. Also, I think I figured out my FTPing problem by looking RTFOB (reading the Fine O'Reilly Book). ;) Mike L. (who's password is definitely not jukilo0)

Downloading MSN

2001-02-07 Thread Perl Developer
Hi, Here is the question for professionals: I need to make script, that would download site: http://communities.msn.es/home I made it, it downloads most HTML files, but cannot download http://communities.msn.es/home I used LWP::Simple, LWP::UserAgent - no good results. The downloaded page is

RE: Downloading MSN

2001-02-07 Thread Christopher Hahn
Well, this answer does not use perl, but remembering that laziness is one of the hallmarks of a good programmer, I would suggest that you take a look at the Gnu tool "wget". Good Luck in any case, Christopher > -Original Message- > From: Perl Developer [mailto:[EMAIL PROTECTED]] > Sent

RE: :FTP question

2001-02-07 Thread Jean-Paul Felix
>Also, I think I figured out my FTPing problem by looking >RTFOB (reading the Fine O'Reilly Book). ;) Please let us (me) know how you get on... I'd like to do something like this myself. jp ___ Perl-Win32-Users mailing list [EMAIL PROTECTED] http://lis

Downloading MSN II

2001-02-07 Thread Perl Developer
Here is one more problem Perl script related to Download MSN subject: use LWP::Simple; use File::Path; use Cwd; ### GLOBAL VARS ### #$URL = 'http://communities.msn.es/home'; $URL = 'http://communities.msn.es/home/index.html'; $OUTPUT_PATH; print "- Get content\n"; $content = get("$URL");

RE: Finding a file Name

2001-02-07 Thread Ron Hartikka
Careful! I think you're saying you want to base your choice on the numeric part of the name - "the latest file". Yet, you apply the sort function to the whole name! Note that 'OZ365.log' sorts in front of 'Oz001.log' (because of z vs. Z). Maybe you want to capture the \d\d\d in the filenames a

multiply hash keys - reversed hash

2001-02-07 Thread Greg Wardawy
Hello all, I have to extract the data from the text file and I'm trying to do that using the hash. The problem is that this hash has a multiply keys with a unique values for which I have to print the data. The script below prints the data just for the last value of the key - for the key ea. LT

Re: Downloading MSN II

2001-02-07 Thread Ben Wheeler
I think I figured it out. Here's what I did: I telneted directly from the prompt to communities.msn.es on port 80 and typed in some basic request headers. The response I got was: HTTP/1.1 500 Server Error Server: Microsoft-IIS/5.0 Date: Wed, 07 Feb 2001 20:45:29 GMT Content-Type: text/html Cont

RE: NET::FTP question

2001-02-07 Thread Lavery, Michael
> -Original Message- > From: Jean-Paul Felix [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, February 07, 2001 3:27 PM > To: '[EMAIL PROTECTED]' > Subject: RE: NET::FTP question > > Please let us (me) know how you get on... I'd like to do > something like this > myself. > Jean-Paul, Thi

Multiple Listboxes in Tk

2001-02-07 Thread Russ Johns
Hi-   I have a perl/Tk script that uses two listboxes.  Right now, I can only obtain the selection from one of the two boxes, the other one (it can be either) returns an empty list when I use the curselection method.  Is there some way to have two listboxes or is this a feature? :^)

Re: multiply hash keys - reversed hash

2001-02-07 Thread Ben Wheeler
The technique you want is something like this: foreach $key (keys %$ultr_cont) { . code for if statements goes here . . . print FILE "$key $ultr_cont{$ult_recv}\n"; } Ben At 03:22 PM 2/7/2001 -0600, Greg Wardawy wrote: >Hello all, >I have to extract the data from the text file and I'm trying t

Re: Event Calendar

2001-02-07 Thread Scott F
From: "byron wise" <[EMAIL PROTECTED]> Subject: Event Calendar > I'm looking for an event calendar written in PERL and can run on apache. We > are wanting to have an event calender that our users can go to and be able > to move from month to month and see the different events. The users will be

Knowledgebase

2001-02-07 Thread chethana . gadam
Have to create a Knowledgebase from scratch. Should be able to search and also upload. I am looking for a module which can upload the file from a web page. Are there any packages out there open source or packages for sale. Has to work with IIS5 and SQL Server 7.0. Any feedback would be greatly a

package positioning

2001-02-07 Thread Christopher Hahn
Hello all, I wrote a simple script: ## # # This package will be used to support SSI from the BAMF ServiceCenter # Unix Monitor page # package SCUnixLog; require Exporter; our @ISA = qw(Exporter); our @EXPORT = qw(UnixLogs);## our @EXPORT_OK = qw(IdentifyLog); ou

RE: package positioning

2001-02-07 Thread ron . wantock
The package name in the module needs to reflect the name space package Peregrine::SCUnixLog; wantor > -Original Message- > From: Christopher Hahn [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, February 07, 2001 4:35 PM > To: 'Perl-Win32-Users (E-mail) > Subject: package position

RE: package positioning

2001-02-07 Thread Christopher Hahn
Ouch! That never occurred to me. Thanks! > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, February 07, 2001 2:42 PM > To: Christopher Hahn; [EMAIL PROTECTED] > Subject: RE: package positioning > > > The package name in the module needs to r

Socks Problem...

2001-02-07 Thread Michael Snead
Help!! I'm trying to FTP a file up to the web through a Socks5 firewall from within a Perl script. I've seen other postings on the web about this, but there haven't been any answers. Hopefully someone out there will respond. I've tried this 2 ways, both with problems: #1. ##!/usr/bin/perl -w

http::request::form

2001-02-07 Thread John Giordano
Hello list! I wish I could buy everyone on here a beer. Has anyone used HTTP::Request::Form to hit radio buttons on a web page before? It works great for me when I try it on a simple HTML page but I am trying to fetch a bunch of complex HTML from the error web page on our mail server. This

Why is this wrong

2001-02-07 Thread Andrew Staples
Can someone tell me why I get a syntax error with this line of code? I guess I don't understand brackets that well. last if $contents =~ /^[^\#]/ ); Andrew Staples http://support.ltinet.net I am sick unto death of obscure English towns that exist seemingly for the sole accommodation o

RE: Why is this wrong

2001-02-07 Thread Thiebaud Richard
Omit the ")" your code: last if $contents =~ /^[^\#]/ ); should be: last if $contents =~ /^[^\#]/; > From: Andrew Staples [mailto:[EMAIL PROTECTED]] > Can someone tell me why I get a syntax error with this line > of code? > ___ Perl-Win32-U

Re: Finding a file Name

2001-02-07 Thread Benjamin Wheeler
I would do it this way. I am operating under the assumptions that this folder is used only for logfile storage and that the logs are never updated except on the day of the year corresponding to the logfile name. My solutions identifies the date/time stamp of the last modification to $indir. Thi

Re: Socks Problem...

2001-02-07 Thread Benjamin Wheeler
I can't be sure that this is right, but I think it is and I think you should check it out. FTP supports two different socket connections -- Active and Passive. Active connections are established on port 21 and retained on that port for the duration of the connection. Passive connections are ini