reading a html page

2003-04-02 Thread learn perl
Hi guys, I need to read an email in which there is a link to an html file. From this html files, there are many links to files for download (small). I'd like to automatically collect these files and put them in different folders. Is that possible? Anybody have any pointer on where should I start?

reading a html page

2003-03-10 Thread learn perl
Hi guys, is there Modules that would read an html file? or handles html file? Thanks Eric -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

SQL column copy

2002-10-18 Thread learn perl
Hi guys, I am not sure if this is relavent to perl. Maybe Perl::DBI is more appropriate. But is there a way to copy one column of a table to another table? Thanks Eric -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

deleting spaces

2002-10-14 Thread learn perl
Hi guys, I have a simple question. Is there ways to get rid of any spaces within a variable? say the variable holds " R" or "R " or " R ". is there a function I could use for that? I tried chomp but it will only get rid of the last space but not the leading spaces. Thanks Eric -- To unsubs

RE: SQL question

2002-08-20 Thread learn perl
ue, 20 Aug 2002, Bob Showalter wrote: > > -Original Message- > > From: Bob Showalter [mailto:[EMAIL PROTECTED]] > > Sent: Tuesday, August 20, 2002 2:24 PM > > To: 'learn perl'; [EMAIL PROTECTED] > > Subject: RE: SQL question > > > > &

RE: SQL question

2002-08-20 Thread learn perl
much! Eric On Tue, 20 Aug 2002, Bob Showalter wrote: > > -Original Message- > > From: learn perl [mailto:[EMAIL PROTECTED]] > > Sent: Tuesday, August 20, 2002 3:16 PM > > To: Bob Showalter > > Cc: [EMAIL PROTECTED] > > Subject: RE: SQL question > > &

SQL question

2002-08-20 Thread learn perl
Hi guys, just wondering how to sort the columns in order using SQL. Does anybody have any clue? for instance, my column headings are [1] [3] [2] [4] [2], is there a way to SELECT the table with the columns sorted in order? thanks! Eric -- To unsubscribe, e-mail: [EMAIL PROTECTED] For addit

How to create DBI connection on unix to MS SQL server ?

2002-08-01 Thread learn perl
Hi guys, just wondering how to establish a DBI connection from a unix machine to a WINNT machine running MS SQL server? do I have to specify an OBDC? Thanks Eric -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: pattern matching

2002-08-01 Thread learn perl
Thanks guys, so to assign each key and add additional keys I could just write a loop and continue to add more keys into the hash right? so I could do chomp(@file) foreach @file{ (if $_ =~ /\ >how do I find the line with only the "<" character? > > %perldoc perlre > > In the meantime, y

pattern matching

2002-08-01 Thread learn perl
Hi guys, I am sure this questions has been asked so many times but please help me on this one. I have a file with the following pattern

Re: How do I install DBI

2002-06-24 Thread learn perl
I usually just search under ppm, and then install the package. d:\perl\bin\ppm then, search DBI it'll give u a list then pick the right one. I searched for bundle, but it's not there. so it maybe just under DBI Eric On Wed, 19 Jun 2002, A Taylor wrote: > Hi all, > I am trying to install '

RE: running perl scripts on Windows

2002-06-18 Thread learn perl
use #!d:\perl\bin\perl.exe -w on top of your script eric On Tue, 18 Jun 2002, A Taylor wrote: > Hi > > >what happens when you try to run a script from commmand line? is the perl > >executable in your path? > > No - the error I get is: > example.pl is not recognised as an internal or external c

Re: accessing database via network using DBI

2002-06-13 Thread learn perl
print "\tData Source is $dataSource\n"; } print "\n"; } exit; #End Code# On Thu, 13 Jun 2002, Jenda Krynicky wrote: > From: learn perl <[EMAIL PROTECTED]> > > Thanks, that's what I thought of doing. But is there a way t

Re: accessing database via network using DBI

2002-06-13 Thread learn perl
Thanks, that's what I thought of doing. But is there a way to connect to the remote database (MS SQL server) w/o going thru DSN? Thanks Eric On Thu, 13 Jun 2002, Jenda Krynicky wrote: > From: learn perl <[EMAIL PROTECTED]> > > > Hi folks, need some help in accessi

accessing database via network using DBI

2002-06-13 Thread learn perl
Hi folks, need some help in accessing a ODBC database (SQL server) using DBI via the nextwork. usually, if the database is on local machine, I just use the datasource $dbh=DBI->connect("DBI:ODBC:databasename",$username, $password, %attr); but how do I complete this connection if the database is

hidden stdin??

2002-06-11 Thread learn perl
Hi guys, I am writing a script where a user is prompted for password. However, I do not wish to have the program display his/her password. Is there a way to do this? here's my code #code begins# $i=-1; do{ $i++; print 'please enter password: '; chomp($input=); }until (!$i); #end co

DBI data source for MS SQL server

2002-06-11 Thread learn perl
Sorry, I got it already. I just need to know the standard connection string for ODBC connection. Eric On Tue, 11 Jun 2002, Joe Raube wrote: > What kind of help? What have you tried so far? > What platform are you running Perl on? > > More info would be helpful... > > -Joe

DBI data source for MS SQL server

2002-06-11 Thread learn perl
Hi folks, Need help with the connection data source for MS SQL server. Thanks Eric -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]