asked my proxy details but it didn't
help...
-Original Message-----
From: Aman Thind [mailto:[EMAIL PROTECTED]
Sent: Wednesday, July 02, 2003 4:20 PM
To: [EMAIL PROTECTED]
Subject: Authenticating to the proxy
Hullo Friends
I need to authenticate to a proxy server in order to access th
Hullo Friends
I need to authenticate to a proxy server in order to access the internet.
How can I do this so that my lwp scripts may run ?
I tried this but am still unable to connect to the net :
use LWP::UserAgent;
$ua = LWP::UserAgent->new;
$ua->proxy(['http', 'ftp'] => 'http://myproxyser
when you see the outcome of your search for Net::FTP on search.cpan.org you
see something like :
Net::FTP
FTP Client Class
perl-5.8.0 - Date - author
Net::FTP
FTP Client Class
libnet-1.16 - Date - author
DON'T click on Net::FTP, that is where you're finding the **theorotical
explanation**
click
hat a submit() would send the msg on it's way...
Thanks you so much
aman
-Original Message-
From: Todd Wade [mailto:[EMAIL PROTECTED]
Sent: Wednesday, June 25, 2003 11:02 PM
To: [EMAIL PROTECTED]
Subject: Re: Cookies rejected
"Aman Thind" <[EMAIL PROTECTED]> w
e how to overcome this.
Thanks in anticipation,
aman
-Original Message-
From: Aman Thind [mailto:[EMAIL PROTECTED]
Sent: Monday, June 23, 2003 2:05 PM
To: [EMAIL PROTECTED]
Subject: Log into a site and do stuff
Hi
I am working on a module that occasionally needs to raise alarms by sending
sm
Hi
I am working on a module that occasionally needs to raise alarms by sending
sms to concerned ppl.
For this, I would like to login to the site : www.sms.ac
The login page is http://www.sms.sc/login.asp
Then I have to go to the main page , fill the To: and Message: textboxes and
send sms.
I h
||Reconnect();
so that Reconnect is called when =ABOR springs up to make my life
miserable...
Thank you so much
Aman
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Friday, June 13, 2003 10:14 PM
To: Aman Thind; [EMAIL PROTECTED]
Subject: RE: ABOR message using Net:
Hi
My ftp script sometimes stops working after throwing an ABOR message :(
I invoke the ftp as :
$ftp->append(\*FH,$remotefile)||Reconnect();
But when ABOR comes, reconnect is not called.
However if i take my machine out of the network while doing the ftp, it
invokes Reconnect() as it should.
Hi All
How can I send a free SMS through perl ?
I am fighting a losing battle with WWW-SMS-0.09.
I created an account on gomobile.ch but everytime i try to send an sms using
gomobile as the submodule I get an error msg saying my number is not
compatible with gomobile gateway...however it took th
Hi
This is a typical situation in companies with development teams spread
around the globe.
I have FTP servers - in India , US & Switzerland.
Builds are being made in India and being put on the Indian server.
Any tips how I could transfer the contents to the remote servers ?
I've been using Ne
-
From: Dan Muey [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, January 07, 2003 8:06 PM
To: Aman Thind; [EMAIL PROTECTED]
Subject: RE: Timeout at C:/Perl/lib/Net/FTP.pm line 741
What are the parameteres that are different and which are the same?
Is then one ftp server set to timeout after xx amount
Hi all ,
I have currently two ftp uploads being made from my machine.
I am using the Net::FTP for the recursive transfer of product builds to
germany.
While one script is successfully transferring, the other is aborting with
the following error :
Timeout at C:/Perl/lib/Net/FTP.pm line 741
Both
Hi all
Is there a module which would give me the power of applescripts on Mac OS 9
/ 10 ?
How can I invoke an application and pass it parameters like I can using
applescript with methods provided in that application's dictionary ?
Eg. I want to invoke Mac Metrowerks CodeWarrior, tell it the path
]
Sent: Friday, January 03, 2003 8:37 PM
To: [EMAIL PROTECTED]
Subject: RE: Sent time in a Net::SMTP mail
From: Aman Thind <[EMAIL PROTECTED]>
> Thanks a lot Jenda...u're a real wizard :)
Shame I can't even get drunk :-}
> There are still just two minor issues which I tho
Thanks a lot Jenda...u're a real wizard :)
There are still just two minor issues which I thought I should bring to your
notice...
The time displayed is 30 mins more than the actual time here.
The To \ From tab now reads : Aman Thind [[EMAIL PROTECTED]].
Can't I just do away with
x27;);
# Who will receive the notification mail?
$smtp->to('[EMAIL PROTECTED]','[EMAIL PROTECTED]','[EMAIL PROTECTED]'
);
#place the actual data within the email
$smtp->data();
$smtp->datasend("Content-type: text/html\n");
$smtp
Hi
I am trying to configure the mozilla tinderbox on a unix machine.
In order to execute a query , I am using the Berkeley DB and DB_File
modules.
I am getting the following error message :
cvstest:/usr/local/lxr # perl search
DB_File object version 1.806 does not match bootstrap parameter 1.80
Hi,
# ==
#
# Perl Source File -- Created with SAPIEN Technologies PrimalSCRIPT(TM)
#
# NAME:
#
# AUTHOR: Aman Thind , Quark Inc
# DATE : 12/16/2002
#
# PURPOSE
Hi
$file1='doctobepublish.new.pdf';
if ($file1 =~ /\.[^\.]*\./)
{
print "Multiple Dots!";
}
else
{
print "Single Dot!";
}
-aman.
-Original Message-
From: Marco Centemeri [mailto:[EMAIL PROTECTED]]
Sent: Monday, December 16, 2002 12:41 PM
To: Perl Beginners Mailing List
Subject: again a
Hi
I need to extract the text from a word document.
I know how to :
Print a word document using the default printer :
-
use strict;
use Win32::OLE;
u
Miss P > Some people say that I have to pay for writing the script.
Me > ???what are such ppl doing here anyway??? we're
all here to help each other out aren't we ?
these ppl are requested to put their hoardings elsewhere...
pay and that too for a beginner exerc
Hi Melanie
If it's regex you wanna use, here it is :
$fullpath = '/usr/local/home/mel/file.txt';
$fullpath =~ /(.*)\/(.*)\.(.*)/;
$path = $1;
$file = $2;
$ext = $3;
-aman.
-Original Message-
From: Melanie Rouette [mailto:mrouette@;omnisig.com]
Sent: Friday, November 15, 2002 8:49 PM
To
Hi Ray
$sec = (localtime())[0];
$min = (localtime())[1];
$hour = (localtime())[2];
print "Time => $hour : $min : $sec\n";
$day = (localtime())[3];
$month = (localtime())[4] + 1;
$year = (localtime())[5];
$year = $year + 1900;
print "Date => $month \\ $day \\ $year";
-aman.
-Original Message
Hi Thomas
File editing is particularly easy in perl.
Herez some sample code to get you started :
--
@ARGV='C:\Documents and Settings\athind\Desktop\test\File2Edit.txt'; # path
to the file you
Hi
Just use "shaw" instead of "shaw.ca" as in :
$smtp = Net::SMTP->new('shaw')||die("my woes are never ending :(");
You are supposed to use only the name of the mail server.
shaw.ca is an invalid argument to Net::SMTP as you will find if you use :
print "$!"; after trying to connect to the serv
Hi Thomas , All
I'm not sure if a module exists to determine the folder size but this can
easily be done by recursing the directory structure and adding up the size
of the files it contains.
To ease up on the recursing task , File::Find comes in mighty handy.
$directory = 'C:\Perl';
$size = Get
Hi Steve, All
Herez how you do it :
$sec = (localtime())[0];
$min = (localtime())[1];
$hour = (localtime())[2];
print "Time => $hour : $min : $sec\n";
$day = (localtime())[3];
$month = (localtime())[4] + 1;
$year = (localtime())[5];
$year = $year + 1900;
print "Date => $month \\ $day \\ $year";
Hi Alan , All
Just in case the data structures and the sort routines intimidate you , the
following hack works too :
#usage : [perl.exe \ perl] reorder.pl infilepath reorderedOutFilePath
open INFILE, @ARGV[0] or print "can't open INFILE!" ;
open OUTFILE, ">@ARGV[1]" or print "can't create OUTFIL
Hi Mark , All
I have written plenty of scripts involving directory traversals and -d \ -f
have never let me down.
One of my scripts runs daily on an NT machine.
The line I use for distinguishing between files and directories is :
$type = "f" unless ((-d "$lclpath\\$name")&&($type="d"));
The $lc
Hi Javed
Try the following regex :
@testList =
("SDK_0.9.4.5_20020711_IR_DEV","SDK_0.9.4.5_20020711_IR","SDK0.9.4.5_2002071
1_IR_DEV") ;
foreach $testName(@testList)
{
if($testName =~ /^SDK[_0-9.]*_IR(_DEV){0,1}$/)
{
print "match successful for $testName ! :)\
Could you give some examples of legitimate filenames of all varieties you
want ?
that would help me \ us to make unambiguous test cases to ascertain your
regex and suggest improvements...
-aman.
-Original Message-
From: Javeed SAR [mailto:SAR.Javeed@;sisl.co.in]
Sent: Thursday, November
Yeah this will sure do the trick but just in case you need another option to
do the same , "require" is also there to the rescue.
Just put all the functions you require in a separate .pl file.
The following solution can also be implemented as :
#
# Sample.pl
sub
Hi
Yeah sure.
You could look it up in : ftp://theoryx5.uwinnipeg.ca/pub/other
I found my win32 tar there.
Thanks
Aman
-Original Message-
From: PRADEEP GOEL [mailto:pradeepg@;india.hp.com]
Sent: Wednesday, November 06, 2002 12:33 PM
To: Aman Thind; [EMAIL PROTECTED]
Subject: depot
5.8 is perfectly backward compatible and no exception has been thrown in my
period of it's usage.
I have recently upgraded from 5.6.1 to 5.8 and my old scripts run perfecly
fine.
So any script that is good enuff for 5.6 is good enuff for 5.8
Thanks
Aman
-Original Message-
From: PRADEEP GO
34 matches
Mail list logo