Mails should not go in SPAM Box

2007-04-12 Thread Anish Kumar K
Hi Mails which are send by the perl script are usually found in the SPAM or JUNK as a result most of the mails are not seen by the recipient. Is there any way in the perl script we can set some Magical Header :) by which the mail goes to INBOX only. First of all can we do in the perl script

how to know the object type

2007-04-03 Thread Anish Kumar K
Hi In java we have instance operator to tell the type of Object. Similarly in perl say I am passing a reference object to a function, Is it possible to detect in the function whether the object is HASH or ARRAY... Thanks Anish -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

Values Not coming in the subroutine parameters correctly...

2007-04-01 Thread Anish Kumar K
Hi The Parameter value passed from the main PL file to the subroutines are not passed correclly in the same order say the class Id and schoolname are passed correctly as 70 and ABC. But in the subroutine when I print it is not correct. Some Junk value. I think this is something to do with

Mail Attachment

2007-01-16 Thread Anish Kumar K.
Hi I am trying you to use this piece of code to send mail frm the HTML form. But I am not getting any mail as well as no error message. I am using sendmail to send the attachement. Any help is nice my $picture=PATH OBTAINED FROM THE HTML FORM for example; c:/a.jpg my

HTML to DOC Converter

2006-12-28 Thread Anish Kumar K.
Hi I have a series of HTML tags in one file and want to convert to a DOC file how is it possible. Do we have any specific modules For Ex: Read a HTML file write to a document Read the Second HTML file and write to the same document (Append) Thanks Anish -- To unsubscribe, e-mail: [EMAIL

getting the File size of image URL

2006-10-11 Thread Anish Kumar K.
Is it possible to calculate the File SIZE which is from HTTP. i.e if I wanted to know file size of http://www.yahoo.com/images/a.gif from PERL.. Thanks Anish -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.1.408 / Virus Database: 268.13.2/471 - Release

URL need not do enciding

2006-09-22 Thread Anish Kumar K.
Hi I have a String which I am forming inside a variable. Say my $urlString=http://www.yahoo.com/mail?username=anishkumar_kuserid=1234.0companyname=abc;. I am printing this string in a browser through CGI. In that case I am getting the URL with encoded characters for = say now it looks like

How to download file with the MIME type Download'

2006-08-02 Thread Anish Kumar K.
Hi How can I download a file any type image,wav or document in download format if I have the http://location with perl Say the location file is present can be http://www.abc.com/a.gif http://www.abc.com/a.doc print Content-Type:application/x-download\n; print

Specify download file name

2006-07-11 Thread Anish Kumar K.
Hi This is somewhat easy question I feel but for some reason I am not getting this The issue is I am using CGI to download a file, I am setting the header as this print $cgiObject-header(-type='application/zip',-charset='',-Expires='-1d',-'Cache-Control'='private, max-age=0'); the

Re: Specify download file name

2006-07-11 Thread Anish Kumar K.
/octet-stream' [PS : The above is not tested] Thanks Prasanna -Original Message- From: Anish Kumar K. [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 11, 2006 3:43 PM To: beginners@perl.org Subject: Specify download file name Hi This is somewhat easy question I feel but for some reason I

Does any one have nice programs for PERL AJAX

2006-06-21 Thread Anish Kumar K.
Hi I searched out in the Google and all for some nice Ajax Programs with the perl template toolkit and all.Can any one mail me the programs. Thanks Anish -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/

How to bind values in IN value

2006-06-10 Thread Anish Kumar K.
Hi I need help as how to bin the values for the IN Query, Assume there are 3 userid and I make a string line ?,?,? in the IN query my @userid=('1','2','3'); say at first I prepare a query and store this in variable $result; my $query=select name from person where userid IN(?,?,?); my $result=

Re: How to handle(read write) emails using perl

2006-05-24 Thread Anish Kumar K.
Please check out this http://search.cpan.org/src/BARBIE/Mail-Outlook-0.09/lib/Mail/Outlook.pm Anish Poonam Pahil wrote: Hi, Is it possible to open an outlook mail message using perl. If yes, can somebody please suggest what should I read to make this happen(Is it CGI). I want to read from a

How to check the file from CGI FORM

2006-05-19 Thread Anish Kumar K.
HI I uploaded a file from the HTML from through input type=file... and in the POST operation I am calling the perl file and in that I try reading the file with the CGI variable and then write it into one location. If I do any changes in the text box in the HTML, say I changed the file name

Re: executing/calling another perl script

2006-04-09 Thread Anish Kumar K.
Hi Irfan Create a perl Module. The Module should start with and should be the second line after ther perl path package ModuleName; sub function_name { my ($pas1,$pass2,$array,$return)[EMAIL PROTECTED]; Do the Processing $_[3]= Send the Value..Can be anything array, hash, or...$; } In

Can any one tell me a better way to upload a file from the HTML form to a location in my home directorrt.

2006-04-06 Thread Anish Kumar K.
I tried many ways, Though I am seeing the file. the SIZE IS 0. I tried out these ways First One = my $upload_file= $q-param('upload_file'); # This is the description file which is being uploaded if ($upload_file) { my $outfile=/home/anish/testing.doc; open(OUTFILE,$outfile)

How to extract the path of the file name in perl

2006-03-28 Thread Anish Kumar K.
Hi How to extract the path of the file name in perl say my $path=C:\Documents and Settings\anish\Desktop\Design Documen1.doc; $path=~ m/([^\/\\]+)$/; $path= $1; print The Path is : $path; I am getting the value as .doc... I tried some combination. Can any one help me to get Design

Error in the postgres update

2006-02-03 Thread Anish Kumar K.
Hi I am getting a strange error and I have no clue as how to fix this.. I am getting values from select multiple tag from the FORM and trying to update the value in the table. Say the select tag is like this select name=course multiple option value=cc/option option value=javajava/option

Want to develop a windows based application

2006-01-08 Thread Anish Kumar K.
Hi I want to develop a windows based application with PERL. Can anyone tell me which is best way to go.. Anis

can anyone tell me the nice site to learn Perl Automation

2005-12-14 Thread Anish Kumar K.
Hi Can anyone tell me a nice site to learn perl automation. Scripts also will be fine. I searched in some sites but was not quite useful.. Thanks Anish

Anyone know how to conver perl to exe

2005-11-21 Thread Anish Kumar K.
Hi All Anyone know how to convert perl to an exe. I wanted to know of any utility available in perl. Thanks Anish

Need help with XML traversing....

2005-10-02 Thread Anish Kumar K.
Hi Anyone could tell some site where I could get the script in JAVA SCRIPT for traversing the XML with unlimited DEPTH(TREE). I do not want to use the XML:: Modules available in PERL. Say I want to print the name of the tree. I did with Hard Coding. That is not I wantI tried in recursive.

Re: Need help with sorting on perl template toolkit

2005-09-12 Thread Anish Kumar K
Hi Sorry for the trouble...I got it we can use reverse function... Once again Sorry Anish - Original Message - From: Anish Kumar K To: beginners@perl.org Sent: Monday, September 12, 2005 11:20 AM Subject: Need help with sorting on perl template toolkit Hi I

Need help with sorting on perl template toolkit

2005-09-11 Thread Anish Kumar K
Hi I needed the help as how to sort descending in a hash [%FOREACH keyValue = wordCount.nsort(wordCount.$keyValue)%] tr bgcolor=[%BGCOLOR%] td[% keyValue %]/td td[% wordCount.$keyValue %]/td /tr [%END%] This is sorting in ASCENFDING order. I tried out giving - , NOT ASC

UTF8 Character issue in XML

2005-08-19 Thread Anish Kumar K
Hi I am using XML::LibXML module, In that I was getting an error like :90: error: Input is not proper UTF-8, indicate encoding ! The code I am having is this my $parser = XML::LibXML-new(); my $tree = $parser-parse_string($content); my $root = $tree-getDocumentElement; THIS IF FROM THE SERVER

Hi

2005-08-02 Thread Anish Kumar K
Hi I want to retreive from postgres database by removing the dos characters and the spaces from a perl file. It is like in the DB side there isand dos charcters in the table itself. So when I am doing a select query as it is checking in the table, the correct match is not obtained. I have

need to send an XML to templatetool kit

2005-07-15 Thread Anish Kumar K
Hi Can anyone tell how I can send the XML file to a HTML file with perl template toolkit so that in HTML I want to display the datas of XML in a table.. or tell some suitable solution Thanks Anish

How to transform the XML string to a table

2005-07-15 Thread Anish Kumar K
Hi All I have a varaible in perl which is having $output_variable= search-list coursename titles= 71200 foundat Search Multiple Courses /foundat foundat Third Page /foundat foundat Third PageSub Page 2 /foundat /coursename

Send Mail Issue

2005-06-04 Thread Anish Kumar K
This is the program I am using for SENDMAIL. Surprisingly it is not dying. I could see an error message in the browser as The System cannot find the path specified. I donno from where the message is coming.. I removed the SENDMAIL part and then checked, now the error is not comingI am sure

How to get the sendmail path

2005-06-03 Thread Anish Kumar K
Hi I wrote a program using send mail for a mail application. In the server I was testing it sendmail was installed in /usr/bin/sendmail. But in a different server the path is different. Isn;t there a easy way for this. Like I need to get the path of the send mail and then assign it. Please

Re: How to get the sendmail path

2005-06-03 Thread Anish Kumar K
] To: Anish Kumar K [EMAIL PROTECTED] Cc: Perl Beginners List beginners@perl.org Sent: Saturday, June 04, 2005 10:39 AM Subject: Re: How to get the sendmail path On Sat, 4 Jun 2005, Anish Kumar K wrote: Isn't there a easy way [to find sendmail] [question-mark] If you're on a Unix-ish platform

Java class files from Java Script

2005-05-12 Thread Anish Kumar K
Please pardon me from posting the question here... can any tell how I call Java class files from Javascript... Thanks Anish

Encrpt a file

2005-04-18 Thread Anish Kumar K
Hi Can any one suggest a good algorithm for encrpt and decrypt the files ..I donot want to use any perl module for that... Thanks Anish

Operation `eq': no method

2005-04-12 Thread Anish Kumar K
Hi All The code gives strange error $subject = I get some value from the function if ($subject eq '' || !defined $subject) { Some operation } Operation `eq': no method found, left argument in overloaded package XML::LibXML::NodeList, right argument has no overloaded magic at

System o/p to a varaible

2005-03-15 Thread Anish Kumar K.
Hi This program I use to get the last line from the log file cipe.log. and then write the line onto a text file a.txt system(tail -1 cipe.log a.txt); open INPUT,a.txt; my $line=INPUT; then I open the text file and read the value from the file handle. This invloves cumbersome process. I need

XML::LibXML Issue

2005-03-02 Thread Anish Kumar K.
Hi I wanted to get some information regarding XML reading Say I have a XML like this ?xml version=1.0 ? - camelids - physical-characteristics mass450 to 500 kg./mass weight1230/weight /physical-characteristics

Appending in between some file

2005-02-24 Thread Anish Kumar K.
Hi I wanted to append some line in between a text file. So what I tried is with the seek command I tried moving the pointer and then do appeding, but for some reason it was not getting appended. I know there are ways to make this task possible. I am afraid abot the memory consumption so I

IS there any way to get rthe content of the file

2005-02-10 Thread Anish Kumar K.
Hi I wanted to read the content of file in one varaible. Now I am doing open INPUT, a.txt | die Cannot open the file; while (INPUT) { $temp=$temp.$_; } print the entire file is $temp; close(INPUT); I wanted to get the entire varaible I tried with other way but failed Anish

Modifying directory permission

2005-02-03 Thread Anish Kumar K.
Is there any way in perl I can modify the permission of a directory using perl scripts Anish

Fw: Modifying directory permission

2005-02-03 Thread Anish Kumar K.
- Original Message - From: Anish Kumar K. [EMAIL PROTECTED] To: Tommy Nordgren [EMAIL PROTECTED] Sent: Thursday, February 03, 2005 6:13 PM Subject: Re: Modifying directory permission Hi this is through CGI.In CGI it is not working... I tried cp also in normal mode

Subroutine redefined at ***.pm error

2005-01-31 Thread Anish Kumar K.
Hi I am using a perl module in which I have used some routines. and when I complile the script with perl -w .pm I get these errors( like routine redefined) Subroutine ExpiryMessage redefined at **.pm line 1200. Subroutine InstructorExpiryMessage redefined at ***.pm line 2454. Subroutine

File is not getting created in perl CGI

2005-01-31 Thread Anish Kumar K.
File is not getting created in perl CGI mode... It is surprising that the file is not created in the CGI I tried this from the command line it is getting created there... I am not able to debug also this issue. Please help in proceeding this #!/usr/bin/perl use CGI; my $cgi=new CGI;

perl substituion

2005-01-28 Thread Anish Kumar K.
Say I have a string called returned from the text file.. Hi $name- welcome to the world of $Logs. Country is $country. Time is $time I am getting this from the text file and then in the program I am printing this out. with its correponding values.. Say Hi Anish- welcome to the world of perl.

Bareword INPUT not allowed while strict subs

2005-01-27 Thread Anish Kumar K.
Hi I open a file and pass the file handle to the sub routine. I have used Use Strict I am getting the error in the filehandle. Why is this caused.. Is it because I need to pass any other information with this sub processTextMails { while(INPUT) { $returnMessage=$returnMessage.$_;

Cannot create the file~

2005-01-19 Thread Anish Kumar K.
Hi I am new to CGI..I cannot create a file using CGI. I do execute another program to create a file, it executes fine..But while using CGI it fails. I had used a die statement and after that I tried printing some text after this. it is not getting printed that means it is not

Can;t locate the module

2005-01-17 Thread Anish Kumar K.
Hi I tried this Chart::ThreeD::Pie module. Installation doesn't show any error.. I am getting this error... In the line 21, I have use GD; How will I install this module.. please help me Can't locate GD.pm in @INC (@INC contains: /usr/lib/perl5/5.6.0/i386-linux /usr/lib/perl5/5.6.0

Substitute Varaible

2005-01-17 Thread Anish Kumar K.
Hi I need help regarding substituion of varaibles with values Say I have a txt file (a.txt) which has only one line: Hi $name The PL file open INPUT, a.txt; my $name=Anish; my $temp=; while (INPUT) { $temp=$temp.$_; } close(INPUT); print Content is: $temp; In the output I want the

Re: Substitute Varaible

2005-01-17 Thread Anish Kumar K.
Thanks it is working fine Anish - Original Message - From: Dave Gray [EMAIL PROTECTED] To: beginners perl beginners@perl.org Sent: Monday, January 17, 2005 11:43 PM Subject: Re: Substitute Varaible On Mon, 17 Jan 2005 16:11:54 +0530, Anish Kumar K. [EMAIL PROTECTED] wrote: Hi

doubt with hash

2005-01-13 Thread Anish Kumar K.
Hi All I have a hash say. %browserType in which assume there are values... %browserType=( IE=2, NETSCAPE=3, FIREFOX=5 ); I need to calculate one morething say percentage utilisation for each browser.. ie..If IE is 2 = the percentage is calculated as (2/(2+3+5))*100

problem with extracting line

2005-01-12 Thread Anish Kumar K.
Hi I have text file in which I have the below mentioned lines This is a test start-first First Line testing end-first How are you Finally start-second Tested end-second I have a perl file which reads the above file and stores in the variable say $message

Javascript issue

2005-01-11 Thread Anish Kumar K.
Hi Sorry to put in this PL forum Say I have Javascript alert like this. BODY onload=window.alert(welcome to my page) when I preview this I get the alert window it is working fine. But The caption of the window is Microsoft Internet Explorer. Is there any way to change it...I mean some user

Template Check

2005-01-11 Thread Anish Kumar K.
Hi All I use perl template function to print the values in the html file. In that I do a manipulation in percentage. Line: td width=20% height=1 bgcolor=[%BGCOLOR%] valign=middle align=left class=bodytextb[% (browserTotal / browserCount) * 100 %]/b/td i.e (browserTotal / browserCount) *

perl template

2005-01-05 Thread Anish Kumar K.
I use a perl template and getting this error my $templateFile=\home\anish\temp\client.html; $template-process($templateFile, \%inputVariables) || die Template process failed: , $template-error(), \ n; absolute paths are not allowed (set ABSOLUTE option) Please help me Thanks Anish

Use of uninitialized value in String

2004-12-28 Thread Anish Kumar K.
I am getting this error not sure why Use of uninitialized value in string eq at line :6 1: $rows=$dbh-prepare(select browsername from course where clientname ='DEMO); 2: $rows-execute(); 3: while(@row=$rows-fetchrow_array()) 4: { 5: $browserName=shift(@row); 6: if ($browserName eq ) 7:

Re: Use of uninitialized value in String

2004-12-28 Thread Anish Kumar K.
Yes...Thanks for the reply..It worked Thanks Anish - Original Message - From: Ing. Branislav Gerzo [EMAIL PROTECTED] To: beginners@perl.org Sent: Wednesday, December 29, 2004 4:43 PM Subject: Re: Use of uninitialized value in String Anish Kumar K. [AKK], on Tuesday, December 28

Re: How to map IP address with country

2004-12-24 Thread Anish Kumar K.
: How to map IP address with country Anish Kumar K. wrote: Hi Hello, Is there any module in perl where I can Map the IP country with the country.. Do you mean something like: http://search.cpan.org/~nwetters/IP-Country-2.18/lib/IP/Country.pm John -- use Perl; program fulfillment

How to map IP address with country

2004-12-23 Thread Anish Kumar K.
Hi Is there any module in perl where I can Map the IP country with the country.. Thanks Anish

Sorry a Java question

2004-12-20 Thread Anish Kumar K.
Hi Sorry this is not a question to post here...But searched the net for java servlet group didn;yt find much... I wnt to pass two values ina query string and then get the values in another serlvet using req.getQueryString() Any help will be usefull... Thanks Anish

CGI-HTML printing error

2004-12-17 Thread Anish Kumar K.
Hi The following program has to print in the CGI...I use perl as well as HTML inside... When I complile this I get the error as Can't find string terminator ERROR_PRINT anywhere before EOF Please help me and also. if there is such combinations like perl CGI and HTML which is the best ways..

File generation not working

2004-12-06 Thread Anish Kumar K.
Hi I am facing problem with File Generation with CGI.. In a CGI Program if (!-e /home/anish/data.xml) { print $cgi-p(Entered Hyere); open OUTPUT, /home/anish/data.xml || die Cannot create the XML File; print OUTPUT \?xml version\=\1\.0\\?\\n; print OUTPUT \end\\n;

Re: Frowarding mail automatically through script

2004-11-27 Thread Anish Kumar K.
This is the program I use for my guest book.. however please look in the path you have installed send mail open(MAIL, | /usr/lib/sendmail -oi -n -t); By default it is in /usr/sbin/sendmail; Anish - Original Message - From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED]

how to get count in DBI

2004-11-26 Thread Anish Kumar K.
$rows=$dbh-selectall_arrayref(SELECT sessionid FROM session); I want to get the count...For example if it returns three rowsThen count should be three... How will I get the countAs soon after I want to print the count in the start itself... Anish

Regular Expression

2004-11-21 Thread Anish Kumar K.
Hi Suppose there is a line my $line= [a href=\Javascript:performAction(\'Open Window\');\ class=\[%um_class1%]\ [%um_master=createUserCourse%]Create User/a]; I wanted to get the text Create User from this line..How will I use regular expresion to extract it... the condition is [a

how to install with CPAN

2004-11-18 Thread Anish Kumar K.
Hi I wanted to install Module HTTP::BrowserDetect usign CPAN. It went well nice.. But when I compile the program I get the message as Can't locate HTTP/BrowserDetect.pm in @INC (@INC contains: /usr/lib/perl5/5.6.0/i386-linux /usr/lib/perl5/5.6.0 /usr/lib/perl5/site_perl/5.6.0/i386-linux

Re: Browser Properties

2004-11-18 Thread Anish Kumar K.
Say I would liek to have it in a table... Say 30 % of users use Internet Explorer 50 % use Netscape 10 % use FireFox 5 % use Mozilla 5 % Others - Original Message - From: Chris Devers [EMAIL PROTECTED] To: Anish Kumar K. [EMAIL PROTECTED] Cc: beginners perl [EMAIL PROTECTED] Sent

variable space

2004-11-18 Thread Anish Kumar K.
Hi Suppose this is the line after_click_color = cc6600 if I use @recField=split(/=/,$_); I will get $recField[0] as after_click_color and $recField[1] as cc6600 If there is space before/after = that will also be involved..What if I don;t wanted the space..I wanted to trim out the spaces

Re: variable space

2004-11-18 Thread Anish Kumar K.
] as after_click_color $recField[1] as cc6600 Thanks Anish - Original Message - From: Michael David [EMAIL PROTECTED] To: Anish Kumar K. [EMAIL PROTECTED]; beginners perl [EMAIL PROTECTED] Sent: Friday, November 19, 2004 12:06 PM Subject: Re: variable space Try this @recField = split /\s*=\s

Regarding ENV PATH

2004-11-17 Thread Anish Kumar K.
Hi I have a PL file in say /home/anish And in the program I have specified the $BASE_ROOT=/home/anish suppose i move the program to /home/abctest The problem I am facing is the directory structure is failingas in the PL files it ishardcoded as /home/anish IS there any way using

Browser Properties

2004-11-17 Thread Anish Kumar K.
Hi I wanted to print out the Browser Informationlike internet Explorer, Netscape, Firefox and some of its properties...Please let me know with PERL CGI...There is any class Anish

Re: Browser Properties

2004-11-17 Thread Anish Kumar K.
: Chris Devers [EMAIL PROTECTED] To: Anish Kumar K. [EMAIL PROTECTED] Cc: beginners perl [EMAIL PROTECTED] Sent: Wednesday, November 17, 2004 9:37 PM Subject: Re: Browser Properties On Wed, 17 Nov 2004, Anish Kumar K. wrote: I wanted to print out the Browser Informationlike internet

how to pass array and varaible

2004-11-05 Thread Anish Kumar K.
Hi I want to pass a array and and a varaible to a subroutine and then some processing will be done at the subtroutine and the array should be returnedPlease help me in trying to figure out... Thanks Anish

Re: how to pass array and varaible

2004-11-05 Thread Anish Kumar K.
; } read - perldoc perlsub Regards, Edward WIJAYA On Sat, 6 Nov 2004 12:48:26 +0530, Anish Kumar K. [EMAIL PROTECTED] wrote: Hi I want to pass a array and and a varaible to a subroutine and then some processing will be done at the subtroutine and the array should be returnedPlease

character functions

2004-11-02 Thread Anish Kumar K.
Hi How will I get the character by character(just like getchar in C) wit PERL In this program... open IN,D:/test.txt; @file=IN; print file is $file[0]; This will print the first line of the txt file...I wanted to get character by character... How will I get it. Please help Thanks AK

Multi Line text processing

2004-11-01 Thread Anish Kumar K.
Hi I am new to perl text processing... I want to replace a text from a file say a.txt. a.txt contains line1: this is line 2: a line 3: apple I wanted to replace to this is an orange.. When I see perl change.pl FILENAME it shld change all the occurence of this is a apple to this is an

need help with upload files.

2004-10-21 Thread Anish Kumar K.
I wrote a script to upload one file to one location. The HTML files reads a particular file using input type=file and in the form action I have called upload.pl file. in the upload.pl file... $upload_dir = /home/anish/upload; $filename = $q-param(filename); $email_address =

Need to have the data flow diagram for Bug tracking

2004-10-20 Thread Anish Kumar K.
Hi Sorry to mail in the PERL group. As the Open Source Bug tracking software was done using PERL-CGI I thought this will be helpful. Can anyone help me in getting the DFD for Bug Tracking System. Thanks Anish

HTML indentation not fine

2004-10-13 Thread Anish Kumar K.
I wrote a program which will replace all the hardcoded things to some values specific to one client. for example designed a template with body bgcolor=%bg_color%?. I have a config.txt file which says bg_color=yellow. This may vary with clients...some like blue, I could successfully

Need Help

2004-10-07 Thread Anish Kumar K.
Hi Please anyone help me in Reg Exp. I wanted to replace [%one_two%] and [%pne%] with the value New say... I wrote the following code...I am unable to get the output as This is a test for New number and New numbers. I am getting it as This a test for New numbers. WHICH IS WRONG... Please let

Re: Need Help

2004-10-07 Thread Anish Kumar K.
operator which will help me to take the variable names separately like... one_two pne Thanks Anish - Original Message - From: David le Blanc [EMAIL PROTECTED] To: Anish Kumar K. [EMAIL PROTECTED] Cc: beginners perl [EMAIL PROTECTED] Sent: Thursday, October 07, 2004 4:38 PM Subject: Re

Need Help with Regular expression

2004-10-06 Thread Anish Kumar K.
Hi I am in process of creating a template Say a HTML template...pasting one sample line below. td width=1 bgcolor=#[%topColor%]img border=0 src=[%1x1_image%] width=1 height=100%/td and there is one text file(config.txt) has several entries 1x1_image=/images/temp_white.gif

How to track the success of insert

2004-09-29 Thread Anish Kumar K.
Hi I was trying out some practice examples with DBI and CGI and kind of stuck while doing a comparison That is if I could insert successfully into a databse a script window shld come Success. but when the insert fails a window shld come saying Can;t insert .. How will I track if the

Can't connect to PG

2004-09-20 Thread Anish Kumar K.
Hi I couldn't connect to the database. Following message is coming. Please help me in this regard. use strict; use warnings; use DBI; my $dbh = DBI-connect('dbi:Pg:testdb','postgres','postgres') or die Cannot connect to testdb\n; exit; Output DBI-connect(testdb) failed: ERROR: Missing '='

Need Help regarding training centres in INDIA

2004-09-17 Thread Anish Kumar K.
Hi This is regarding PERL training centres in INDIA. Please let me know about this. Thanks Anish -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/ http://learn.perl.org/first-response

Time Skip

2004-09-16 Thread Anish Kumar K.
$filename = data_logfile .(localtime). .txt; open(LOG, $filename) || die cannot append: $!; when I compile the file is says Invalid argument. This is because of the colon character. Suppose after one activity I want to update the log activities in one file say data_logfileTIME.txt What is

SMTP Module

2004-09-16 Thread Anish Kumar K.
The SMTP Pgms are not working on my windows environment. I am using Active PERL 5.8. please let me know whether I need to install SMTP module, if so where I can find the module for windows. Do I need to have SMTP server also.. Anish

Re: SMTP Module

2004-09-16 Thread Anish Kumar K.
- Original Message - From: Chris Devers [EMAIL PROTECTED] To: Anish Kumar K. [EMAIL PROTECTED] Cc: beginners perl [EMAIL PROTECTED] Sent: Thursday, September 16, 2004 6:16 PM Subject: Re: SMTP Module On Thu, 16 Sep 2004, Anish Kumar K. wrote: The SMTP [programs] are not working

Re: SMTP Module

2004-09-16 Thread Anish Kumar K.
work in the ACTIVE PERL on windows.. So my question is whether I need to install SMTP module for windows. if so where will I get... - Original Message - From: Chris Devers [EMAIL PROTECTED] To: Anish Kumar K. [EMAIL PROTECTED] Cc: beginners perl [EMAIL PROTECTED] Sent: Thursday

SMTP

2004-09-13 Thread Anish Kumar K.
HI I am using Active PERL for WINDOWS. How will I know SMTP is Installed on the system...Can you suggest a small program for SMTP Anish

how to skip new line character

2004-09-09 Thread Anish Kumar K.
Hi All As a beginner in PERL, I wrote a small program which reads data from the file and stores in an array. In that process i wanted to skip the new line character... for ex: In my program say a.txt contains man pan tan In the program open INPUT,a.txt or die $!; my @file = INPUT; when I

Hi

2004-09-03 Thread Anish Kumar K.
Hi I am Beginner in perl..Can any one sugges some sample programs of PERL where I can build the skills. Please let me know at the earliest. Thanks Anish