Problem with session management in perl

2003-03-31 Thread Pankaj Kapare
cripts are: ---first.pl- # !/usr/bin/perl use CGI; use CGI::Session; my $session = new CGI::Session("driver:File", undef, {Directory=>'/tmp'}); $session->param('na

Session Management

2003-03-31 Thread Pankaj Kapare
cripts are: ---first.pl- # !/usr/bin/perl use CGI; use CGI::Session; my $session = new CGI::Session("driver:File", undef, {Directory=>'/tmp'}); $session->param('na

writting shell script to create database.

2003-02-21 Thread Pankaj Kapare
know how to do that.I am using MySql db. Thanks in advance! Regards, pankaj

Copying directory structure and its content.

2003-02-19 Thread Pankaj Kapare
Hi, I want to copy whole directory structure and its containts(may be file and folders under source directory) to destination directory .i dont know how to do this .Can anybody help me. Thanks in advance ! Pankaj

Perl script not running on apache server

2003-02-18 Thread Pankaj Kapare
server error log. while same script runs fine at shell prompt but gives error when i tries to acess it through web browser. But scripts developed on the server with vi editor runs fine. What could be the reason? Is it regarding the editor i am using? or any other thing? Thanks in advance! pankaj

File handling

2003-02-13 Thread Pankaj Kapare
id then how can i do that? Can anybody help me with sample code Thanks in advance! Pankaj

Mysql Connection

2003-01-28 Thread Pankaj Kapare
rstName,sLastName FROM userdetail}); my $record_set = $mysql->create_record_iterator; while (my $record = $record_set->each) { printf "First column: %s Next column: %s\n", $record->[0], $record->[1],$record->[2]; } Please Can u help me? Thanks in advance! Pankaj

Mysql Connection problem

2003-01-27 Thread Pankaj Kapare
ord_set = $mysql->create_record_iterator; while (my $record = $record_set->each) { printf "First column: %s Next column: %s\n", $record->[0], $record->[1],$record->[2]; } $mysql->close; I have tried DBI package also but it is showing same error. Thanks in advance! Pankaj.

Re: Help to connect to mysql

2003-01-27 Thread Pankaj Kapare
Hi, I tried your solution but still dont get the output.It is showing same error.Can u help me to solve this problem? - Original Message - From: "Mat Harris" <[EMAIL PROTECTED]> To: "Pankaj Kapare" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Mo

Help to connect to mysql

2003-01-27 Thread Pankaj Kapare
l->close; I have tried other modules also like DBI,DBD but still I am getting same error.What may be the reason .I have installed these modules through ppm .Can anybody help me? Thanks in advance ! Pankaj.

ATL COM

2003-01-24 Thread Pankaj Kapare
ot;; BEGIN { push(@INC,'E:/PerlInstall/site/lib/;E:/PerlInstall/lib/,F:/ATL/practise/debug') } use Win32::OLE $Object = Win32::OLE->new('{0x0073C45B,0xE00A,0x4B1B,{0x9C,0xB6,0x97,0x33,0xDD,0x01,0x18,0xB6}}') or die "Can not create Object\n"; $Resul

How to use com components in perl

2003-01-23 Thread Pankaj Kapare
Hi Can anybody tell me how to use com components developed in c++ in perl script.If provided with sample code it will be great help. thanks. Pankaj

How to use ATL COM components in perl

2003-01-19 Thread Pankaj Kapare
Hi, Can anybody tell me how to use perl components in perl. Pankaj.

[perl #20364] How to use com components in perl

2003-01-17 Thread Pankaj Kapare
Sir, I want know how to use com components developed in c++ within perl script. Thanking you! pankaj.

Perl with SSL

2002-11-21 Thread Pankaj
Any idea if we can use perl /perlldap with SSL. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

perl equivalent

2002-04-02 Thread Anand, Pankaj
Hi , I need a small help . I have one script with these commands.But I think perl can do it efficiently. What will be the perl equivalent for this - grep UNBIND $file|tr "=" " "|awk '{print $4}' > /tmp/con for i in `cat /tmp/con` do ip=`grep $i $file |grep from |awk '{print $8}'` op=`grep $i $fil

RE: array question

2002-02-13 Thread Pankaj Warade
This is work my @array = ( 1, 2, 3, 4 ); print $#array; ---> size of array. p -Original Message- From: Chris Zampese [mailto:[EMAIL PROTECTED]] Sent: Sunday, February 10, 2002 5:19 AM To: [EMAIL PROTECTED] Subject: array question Hi all, Just wondering if someone could direct me i

TKSteal Widget

2002-02-11 Thread Pankaj Warade
.de:    pub/tcl/contrib/extensions/ Please let me know if anyone knows about it . Is there any other widget for doing the same ?   Thanks!   =====PANKAJ WARADESoftential250 Exchange Pl, Ste CHerndon VA 20170Off : 703-467-2005[EMAIL PROTECTED]=  

TKSteal Widget

2002-02-11 Thread Pankaj Warade
Title: Glacier Can anyone please tell me where can i get the TKSteal Widget ? I tried following locations but could not find it..   harbor.ecn.purdue.edu:  ftp.ibp.fr:   nic.funet.fi:   syd.dit.csiro.au:    ftp.cs.tu-berlin.de:   Thanks =PANKAJ

TCl/Expect Question

2002-02-07 Thread Pankaj Warade
end "f\r"    send_user "panakj"    sleep 2;    send "f\r"    send_user "panakj"    }    }expect_user {-re "g" {    send_user "End of the Program"    }   }   In above program , when u

FW: Help reqd. for collecting data

2002-02-05 Thread Anand, Pankaj
only in that file - 01/12 Data1 Data2 Data3 01/13 Data1 Data2 Data3 ... 01/18 Data1 Data2 Data3 Thanx > -Original Message- > From: Anand, Pankaj [SMTP:[EMAIL PROTECTED]] > Sent: Wednesday, January 23, 2002 11:57 AM > To: 'Beginners (E-mail) > Sub

change the format of file.

2002-01-30 Thread Anand, Pankaj
Hi , I want to make a perl script which can take the input from a file which is in this form - name1 name2 I want to change it to this format - definition1 name1 definition2 definition3 definition4:name1 definition1 name2 definition2 definition3 definition4:name1 and so

RE: :Text Question

2001-12-19 Thread Pankaj Warade
Title: Glacier Can anybody know how to use the GD::Text module with GD::Graph ?? If so, Please send the example...   Thanks Pankaj -Original Message-From: Pankaj Warade [mailto:[EMAIL PROTECTED]]Sent: Wednesday, December 19, 2001 4:50 PMTo: BeginnersSubject: GD::Text

GD::Text Question

2001-12-19 Thread Pankaj Warade
Title: Glacier   -Original Message-From: Pankaj Warade [mailto:[EMAIL PROTECTED]]Sent: Wednesday, December 19, 2001 4:07 PMTo: BeginnersSubject: FW: Question   -Original Message-From: Pankaj Warade [mailto:[EMAIL PROTECTED]]Sent: Wednesday, December 19, 2001 3:56 PMTo

FW: Question

2001-12-19 Thread Pankaj Warade
Title: Glacier   -Original Message-From: Pankaj Warade [mailto:[EMAIL PROTECTED]]Sent: Wednesday, December 19, 2001 3:56 PMTo: BeginnersSubject: Question I am using the GD:Graph for plotting the graphs. These graphs are generated on the fly and displayed on a wab browser. I need to

Question

2001-12-19 Thread Pankaj Warade
. Please let me know if anyone has already done this before or have any clue for doing the same...   Thanks =PANKAJ WARADESoftential250 Exchange Pl, Ste CHerndon VA 20170Off : 703-467-2005[EMAIL PROTECTED]=  

Help needed

2001-12-17 Thread Anand, Pankaj
Hi All , I am beginer to perl can anybody help me ..? I am having the output of some data in a file in the form as - currentconnections=326 totalconnections=37396 dtablesize=1024 readwaiters=322 opsinitiated=144666 opscompleted=144665 entriessent=1355694 bytessent=1547759193 currentconnections=3

Help reqd.

2001-12-14 Thread Anand, Pankaj
> I have to make a script which will read a log file and find for error , > the string is like "err=0" if the no. is > 0 then I want the first coloumn > of line that's time stamp redirected to some other file or I can define > some RE that if err=2 , do this. > > Secondly the log file is rotaion

Modules for creating graphics and images

2001-12-11 Thread Pankaj Warade
. =PANKAJ WARADESoftential250 Exchange Pl, Ste CHerndon VA 20170Off : 703-467-2005[EMAIL PROTECTED]=