Passing Creadentials and parameters through http headers

2008-05-07 Thread Prabu Ayyappan
and parameters through headers. Thanks, Prabu Unlimited freedom, unlimited storage. Get it now, on http://help.yahoo.com/l/in/yahoo/mail/yahoomail/tools/tools-08.html/ -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/

Passing value for a GET Method

2008-04-08 Thread Prabu Ayyappan
=json%3A%5B%27testuser%27%5D $req = HTTP::Request-new(GET = $url); Please help me, How to pass value through the request headers. Thanks, Prabu You rock. That's why Blockbuster's offering you one month

Re: String To Hash Conversion

2008-04-07 Thread Prabu Ayyappan
- Original Message From: Gunnar Hjalmarsson [EMAIL PROTECTED] To: beginners@perl.org Sent: Saturday, April 5, 2008 11:22:41 PM Subject: Re: String To Hash Conversion Prabu Ayyappan wrote: I want to convert a string into a Hash data structure For Example String: [['aaa',{27

String To Hash Conversion

2008-04-04 Thread Prabu Ayyappan
://search.cpan.org/~kaili/Convert-PerlRef2String-0.03/lib/Convert/PerlRef2String.pm But for that i want to encode the string to base64 and then want to give the string as parameter for string2perlref($string); Is it advisable. Please help me. Thanks, Prabu

Re: Hash CSV

2008-03-18 Thread Prabu Ayyappan
for CSV , here is a sample piece of code use AnyData; use Data::Dumper; $format= 'CSV'; $data = 'sample.csv'; $open_mode = 'r'; # Open file in read/update mode my $table = adTie( $format, $data, $open_mode,); print Dumper %$table; Hope this helps. Best Regards, Prabu

Re: Hash CSV

2008-03-13 Thread Prabu Ayyappan
( INFILE ); print Dumper \%hsh; Hope this helps, Thanks, Prabu Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now. http://mobile.yahoo.com/;_ylt

Re: how to search manual for use strict

2008-03-13 Thread Prabu Ayyappan
Hello, Are you looking for perldoc strict Best Regards, Prabu Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now. http://mobile.yahoo.com/;_ylt

Optimization in PERL

2008-01-02 Thread Prabu Ayyappan
Hi All, Below are some of the way to optimize the perl code. You can add more to this if you have something more. 1) use a reference instead of the variable directly Use reference in passing large arrays in a function call. Because without a reference it will copy the entire array or hash onto

Different way of getting Standard input

2007-12-31 Thread Prabu Ayyappan
Hi All, What is the difference in Accepting the following form of standard input? 1) $a = STDIN; 2) $b = stdin; 3) $c = ; Now check, print $a $b $c; What is actually happening? Will this be written to some standard input file? If so In windows where this will be written? Thanks, Prabu.M.A

Re: PArsing tables of web page directly on the web.

2007-10-24 Thread Prabu Ayyappan
Hi Siva, Leave the perl script and first try the url in your browser. If it works fine means then the code will get you the HTML contecnt of that page. Thanks and Regards, Prabu.M.A - Original Message From: Siva Prasad [EMAIL PROTECTED] To: beginners@perl.org Sent: Wednesday,

Re: undefined symbol: Perl_sv_2iv_flags

2007-10-24 Thread Prabu Ayyappan
Hi Siva, I doubt the problem is with the version of perl you are using. The symbol Perl_sv_2iv_flags may be introduced with the new version of perl Try with Perl version is: v5.8.9 - Original Message From: sivasakthi [EMAIL PROTECTED] To: beginners perl beginners@perl.org Sent:

Re: New to Perl

2007-08-11 Thread Prabu Ayyappan
Hi, You can get the ppms from the below links, http://trouchelle.com/ppm/ hope this help, Thanks, Prabu.M.A Jeff Pang [EMAIL PROTECTED] wrote: -Original Message- From: Gladstone Daniel - dglads Sent: Aug 10, 2007 9:39 PM To: beginners@perl.org Subject: New to Perl Good Morning

Re: XML to inMemory Hash

2007-08-04 Thread Prabu Ayyappan
PROTECTED]'.$ID.']' = \chunks}); $twig-parse($showtimeString); sub chunks{ my( $twig, $reOrganize)= @_; $chunkedIXMLG = $_-sprint; $twig-purge; } Since it is reading the whole file each time to parse the node based on the ID.It is taking lot of time. Thanks in advance, Prabu

Re: XML to inMemory Hash

2007-08-04 Thread Prabu Ayyappan
a 100MB file each time to take the node. Thanks in advance, Prabu Jenda Krynicky [EMAIL PROTECTED] wrote: From: Prabu Ayyappan Thanks for the valuable inputs, I am planning to solve my memory issue by making the XML into Chunks using Xml::Twig and using simplify( ) in XML::Twig

Re: XML to inMemory Hash

2007-08-03 Thread Prabu Ayyappan
that after processing that chunk i will purge my memory (purge in XML::Twig) Thanks in advance, Prabu Jenda Krynicky [EMAIL PROTECTED] wrote: From: Rob Dixon Prabu Ayyappan wrote: I want to convert a huge XML file into an inMemory Hash. I tried using XML::Simple. But its taking huge

XML to inMemory Hash

2007-08-01 Thread Prabu Ayyappan
to memory ? Is there any benchmarks available ? Please guide me. Thanks in advance, Prabu - Sick sense of humor? Visit Yahoo! TV's Comedy with an Edge to see what's on, when.

Re: missing values from files

2007-07-29 Thread Prabu Ayyappan
the same number of lines. Thanks, Prabu Irenta [EMAIL PROTECTED] wrote: On Jul 29, 7:08 pm, [EMAIL PROTECTED] (Irenta) wrote: Hello all! I wrote a script that reads data from different files and put it all together in one new file in columns. Once I open the new file, I noticed

Re: Help with Regex (UserName, Email)

2007-07-26 Thread Prabu Ayyappan
. Thnx Prabu Jeff Pang [EMAIL PROTECTED] wrote: --- [EMAIL PROTECTED] wrote: Hello! Help with Regex, Thanks in avance! 1. Validation of Name Enable ALL keys on keyboard EXCEPT 0, 1, 2., 9 Change to uppercase of 1st alphabet of every word and lowercase

Re: perl-mysql...

2007-07-25 Thread Prabu Ayyappan
Hi Rupesh, Can you explain your problem scenario a little more briefly. So that it may help in understanding the problem clearly, For Example, My input is like I am expecting this output. What you tried to achieve your output.. Regards, Prabu [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hi

RE: formatting a string

2007-07-04 Thread Prabu Ayyappan
);} .shape {behavior:url(#default#VML);} Yup, lol… Wish I understood this! What is the line that does the search called? What do I look up to read up on this? Thanks! jlc From: Prabu Ayyappan [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 03, 2007 10:55 PM To: Joseph L

RE: syntax error of some sort?

2007-07-04 Thread Prabu Ayyappan
. Hope this help you. Thanks, Prabu Joseph L. Casale [EMAIL PROTECTED] wrote: Heh, Clearly I need to sleep! This doesn't even work either? #!/usr/bin/perl -w @list = (Exchange,Filter,DNS,Domain) sub stop_it { $vm = $_[0]; print $vm\n; } stop_it(@list) What is wrong here? jlc

character Encoding in perl

2007-07-03 Thread Prabu Ayyappan
Hi, I am using XML::Simple for converting the XML into a hash. use Unicode::String qw(utf8); use XML::Simple; #use Data::Dumper; $XML = STARTäT©imes/START; $u = utf8($XML); $XML = $u-utf8; $myHash = XMLin($XML); #print Dumper($myHash); The above code works fine... But the

character Encoding in perl

2007-07-03 Thread Prabu Ayyappan
Hi, I am using XML::Simple for converting the XML into a hash. use Unicode::String qw(utf8); use XML::Simple; #use Data::Dumper; $XML = STARTäT©imes/START; $u = utf8($XML); $XML = $u-utf8; $myHash = XMLin($XML); #print Dumper($myHash); The above code works fine... But the

Re: character Encoding in perl

2007-07-03 Thread Prabu Ayyappan
Its not even being displayed in by browser.The UTF-8 Character i meant is the square characters in the Link http://www.tony-franks.co.uk/UTF-8.htm Prabu Ayyappan [EMAIL PROTECTED] wrote: Hi, I am using XML::Simple for converting the XML into a hash. use Unicode::String qw(utf8

Re: formatting a string

2007-07-03 Thread Prabu Ayyappan
A quick solutionMay be you can enhance it more as you like.. @discarr = ('/vmfs/volumes/467f06a5-7d59c067-35cb-0007e9153886/AN-DC (Win2003 Ent x64)/AN-DC (Win2003 Ent x64).vmx','/vmfs/volumes/467f06a5-7d59c067-35cb-0007e9153886/AN-DC (Win2003 Ent x64)/Disc

Re: book on perl

2007-07-02 Thread Prabu Ayyappan
Hi, There is some good stuffs in the below link. http://www.unix.org.ua/orelly/ Thanks, Prabu Garg, Mayank IN BOM SISL [EMAIL PROTECTED] wrote: Hi all, Can some one suggest me a good book on perl (basics and advanced) Thanks Regards, Mayank Garg

Re: Conditional question

2007-07-02 Thread Prabu Ayyappan
You can even do like this $var1 == 0 $var2 == 1 ? print hai : print bye; Thanks and Regards, Prabu.M.A Joseph L. Casale [EMAIL PROTECTED] wrote: I want to script an if based on two conditions, var1=0 and var2=1. Is there some quicker way to write this in one if statement like: If

Re: printing content of found file

2007-06-28 Thread Prabu Ayyappan
Hi, Hope you can find your solution from the following two approaches Approach I #!/usr/bin/perl while (*) { if ($_ =~ /note/){ open(FH, $_); @fcontent = FH; print @fcontent; close(FH); } } APPROACH II opendir(CURRENT,.); @list = readdir(CURRENT);

Re: printing content of found file

2007-06-28 Thread Prabu Ayyappan
Hi, Hope you can find your solution from the following two approaches Approach I #!/usr/bin/perl while (*) { if ($_ =~ /note/){ open(FH, $_); @fcontent = FH; print @fcontent; close(FH); } } APPROACH II opendir(CURRENT,.); @list = readdir(CURRENT);

Re: printing content of found file

2007-06-28 Thread Prabu Ayyappan
Hi, Hope you can find your solution from the following two approaches Approach I #!/usr/bin/perl while (*) { if ($_ =~ /note/){ open(FH, $_); @fcontent = FH; print @fcontent; close(FH); } } APPROACH II opendir(CURRENT,.); @list = readdir(CURRENT);

Re: processing XL using Win32::OLE

2007-06-28 Thread Prabu Ayyappan
Hi Alok, Hope the examples in the below links help your needs. For opening and reading an XL(Excel) use strict; use Win32::OLE qw(in with); use Win32::OLE::Const 'Microsoft Excel'; $Win32::OLE::Warn = 3;# die on errors... # get already active Excel

Re: XML Parsing

2007-06-26 Thread Prabu Ayyappan
Hi All, XML::Simple XML::twig XML::Myxml XML::Rules XML::path all these do the XML parsing,But which one is the efficient and stable one to parse a large XML file. Thanks, [EMAIL PROTECTED] Mike Blezien [EMAIL PROTECTED] wrote: - Original Message - From: Karjala To: Cc: Mike

Re: XML Parsing

2007-06-24 Thread Prabu Ayyappan
Hi, Have you tried XML::XPath for this one.It may help you. Thnx and Rgds, [EMAIL PROTECTED] Mike Blezien [EMAIL PROTECTED] wrote: I need to parse a fairly large XML response file and would like some suggestions on which XML module would work the best. We've been using the XML::Simple

Re: Regarding file handling

2007-06-21 Thread Prabu Ayyappan
Hope this helps you. use strict; use warnings; open my $fh, '', infile.txt or die $!; open my $ofh, '', outfile.txt or die $!; local $/ = };; my %printed; my @a = $fh; my @b = (); foreach(@a){ if ($_ =~ m/(.*?)\_T\n/){ my $tomatch = $1; my $cnt = grep /$tomatch/,@b;

Re: Problems with arrays

2007-06-20 Thread Prabu Ayyappan
Hi, Hope this is what you are expecting. #!/usr/bin/perl -w ($old_header,$old_atoms,$old_bonds) = mol2_read('prabu'); print @{$old_header} \n @{$old_atoms} \n @{$old_bonds}; sub mol2_read { @mol2_header = ('prabu1','prabu12'); @mol2_atoms = ('prabu2'); @mol2_bonds

Re: Problems with arrays

2007-06-20 Thread Prabu Ayyappan
Hi, Hope this is what you are expecting. #!/usr/bin/perl -w ($old_header,$old_atoms,$old_bonds) = mol2_read('prabu'); print @{$old_header} \n @{$old_atoms} \n @{$old_bonds}; sub mol2_read { @mol2_header = ('prabu1','prabu12'); @mol2_atoms = ('prabu2'); @mol2_bonds

Re: Problems with arrays

2007-06-20 Thread Prabu Ayyappan
Hi, Hope this is what you are expecting. #!/usr/bin/perl -w ($old_header,$old_atoms,$old_bonds) = mol2_read('prabu'); print @{$old_header} \n @{$old_atoms} \n @{$old_bonds}; sub mol2_read { @mol2_header = ('prabu1','prabu12'); @mol2_atoms = ('prabu2'); @mol2_bonds

Re: Polyline

2007-06-14 Thread Prabu Ayyappan
Hi, The GD module may not be installed properly. if you are using active perl then did you install the module via ppm: C:\ ppm ppm install GD if you didn't use activestate, then using cygwin. perl -MCPAN -e 'install GD if you are get installed the module in some other path then

Re: PERL arrays

2007-06-08 Thread Prabu Ayyappan
you can use the Data::Dumper module to see the four dimension array values. use Data::Dumper; my @a = ( [ [ [ 0,0,0,0, 0,0,0,1 ], [ 0,0,1,0, 0,0,1,1 ], [ 0,0,2,0, 0,0,2,1 ],

Re: doubt in quote-like operators

2006-08-07 Thread Prabu
anand kumar wrote: hi all, I could not understand clearly the functions qw(),qq(),qr(),qx(),q(),quotemeta(). I have read the explanation for these functions in the perl documentation but i could not get idea of where exactly we can use these functions. So please send some other

Re: file help

2006-08-03 Thread Prabu
Sayed, Irfan (Irfan) wrote: Hi All, I did as follows but still not getting output in a file. plz help #/usr/atria/bin/Perl -w use strict; use warnings; my $CT = /usr/atria/bin/cleartool; my @vob_list = `$CT lsvob -s`; my $fname = /tmp/vob_trigger; open FILE,,$fname or die $!;

Re: need to return exit code

2006-07-31 Thread Prabu
Gregory Machin wrote: Hi My perl script is called by a bash script, used in a compile / build env. But the bash script is not seeing my script's exit and is timming out and continuing ... How can I pass a standard exit code 0 = success 1 = fail to the operating system / calling script. Many

Re: Syntax help with variable quotes

2006-07-31 Thread Prabu
Grant wrote: Can someone tell me how to turn this line (which works): open(LABEL,/path/to/the/file.gif); into something like this: open(LABEL,/path/to/the/$file.gif); The gif file should be named according to the value of the $file variable. I never know what to do with quotes in these

Re: File handling using CGI

2006-07-27 Thread Prabu
I BioKid wrote: One simple question - I need to accept a file from the user and to store it as temp1. then I need to give this file as an input of another program : I wrote a script like this, but it is not working : Help ? #!/usr/bin/perl -w use CGI; my $q = new CGI; my $file =

Re: sending output to file

2006-07-27 Thread Prabu
Sayed, Irfan (Irfan) wrote: Hi All, I need to send / print / write the output of one command to a file through perl script can anybody plz help. Regards Irfan. Hope this helps perl -e 'print `command file`;' Example: perl -e 'print `ls -l output`;' -- Prabu.M.A When I was

Re: command execution

2006-07-25 Thread Prabu
Sayed, Irfan (Irfan) wrote: Hi All, I am executing following command ` $MT chreplica`; I need to find out wheather this command is executing properly or not. If it's executing properly then i need to print the message saying that command executed successfully Can anybody please help

Re: write out filenames of files existing on a filesystem into afile

2006-07-19 Thread Prabu
Nishi Bhonsle wrote: Hi: How do I look for the string filemap_generic in the following file so that i can insert something between the tags filemap_generic insert some bla text here /filemap_generic in the following file?

HANDY PERL ONE-LINERS

2006-07-15 Thread Prabu
Hello moderator et all, I am a perl user as well as i works on some sed scripts.I am also a subscriber of sed-users.In that list,people maintain the sed one-liners in the name. HANDY ONE-LINERS FOR SED People in the list will get a mail regularly with the one-liners in the name.We can also

Re: Perl One-Liners

2006-07-15 Thread Prabu
Dr.Ruud wrote: Chandru schreef: Prabu: I am a perl user as well as i works on some sed scripts.I am also a subscriber of sed-users.In that list,people maintain the sed one-liners in the name. HANDY ONE-LINERS FOR SED People in the list will get a mail regularly with the one

Re: Check whether a string exists

2006-07-12 Thread Prabu Ayyappan
PROTECTED] http://learn.perl.org/ http://learn.perl.org/first-response -- Regards Prabu M A

Re: nohup using perl

2006-07-10 Thread Prabu
Hello Mahdi, I Don't know whether this is your requirement.But you can run the nohup command using system() in perl. system(nohup YourCommand); Sorry,if this is not what you expected. -- Prabu.M.A When I was born I was so surprised I didnt talk for a period and half

Re: Perl's system [OS_COMMAND]

2006-07-05 Thread Prabu
Hello Ben, Hope this is what u expected #!/usr/bin/perl system(cat /etc/hosts); print `cat /etc/hosts`; $? contains the status returned by the last pipe close, backtick(``) command or *system* operator. -- Prabu.M.A When I was born I was so surprised I didnt talk for a period and

Re: Script Required to Check a range of IP's

2006-06-29 Thread Prabu
Hello, Hope this is what you need Input File --- test.txt 172.16.1.194 172.16.1.20 172.16.1.200 172.16.1.34 Program to check active or not -- pingpro.pl #!/usr/bin/perl use strict; use warnings; use Net::Ping; my $file_name=$ARGV[0]; my $line; my @host_array; open(FILE,$file_name) || die

Re: Trying to add hyperlink

2006-06-22 Thread Prabu
Hello, Hope this is your need... #!/usr/bin/perl -w use warnings ; use CGI qw/:standard/; print header, start_html(Stsd ILO Links), h1(Stsd ILO Links) ; print table({-border=undef,,-width='75%', -height='70%'}, caption(strong('Web Page Under construction?')), Tr({-align=CENTER,-valign=TOP}, [

Re: Trying to add hyperlink

2006-06-22 Thread Prabu
Message- From: Prabu [mailto:[EMAIL PROTECTED] Sent: Thursday, June 22, 2006 12:06 PM To: Nath, Alok (STSD) Cc: beginners@perl.org Subject: Re: Trying to add hyperlink Hello, Hope this is your need... #!/usr/bin/perl -w use warnings ; use CGI qw/:standard/; print header, start_html(Stsd

Re: Problems with HTML::Template

2006-06-20 Thread Prabu
::Template; # open the html template my $template = HTML::Template-new(filename = 'templ.tmpl'); # fill in some parameters $template-param(name = Prabu); $template-param(example = For Template); # send the obligatory Content-Type and print the template output print Content-Type: text/html\n\n

Re: Problems with HTML::Template

2006-06-20 Thread Prabu
::Template; # open the html template my $template = HTML::Template-new(filename = 'templ.tmpl'); # fill in some parameters $template-param(name = Prabu); $template-param(example = For Template); # send the obligatory Content-Type and print the template output print Content-Type: text/html\n\n

Re: using (sharing) variables between perl files

2006-06-19 Thread Prabu
=prabu; $cat file2.pl #!/usr/bin/perl require file1.pl; print $name.\n; $ perl file2.pl prabu -- Prabu.M.A -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/ http://learn.perl.org/first-response

Re: PERL CGI drop down list

2006-06-16 Thread Prabu Ayyappan
='dropdown',-values=['one','two','three','four']); print $p-end_html; -- Prabu M A

Re: About Encryption/ Decription

2006-06-16 Thread Prabu
*Module::Crypt* -- Prabu -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/ http://learn.perl.org/first-response

Re: About Encryption/ Decription

2006-06-16 Thread Prabu
kilaru rajeev wrote: Hi, Please tell me how can we encrypt or decript file. Please give me the information regarding this. Regards, Rajeev Try out with the modules available in http://search.cpan.org/~aar/Module-Crypt-0.04/Crypt.pm Module::Crypt -- Prabu -- To unsubscribe, e-mail: [EMAIL

Re: PERL CGI drop down list

2006-06-16 Thread Prabu
Mark Martin wrote: Thanks Prabu , Works great. I'm not having any luck finding good documentation on this so I'll throw 2 more questions at you if that's okay: Is there a method for setting the selected value as with the html below? Also, is it possible to display meaningful text instead

Re: Term::Readline

2006-06-16 Thread Prabu
the function in http://search.cpan.org/dist/Term-ReadLine-Gnu/Gnu.pm hope will help u to get some idea. -- Prabu -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/ http://learn.perl.org/first-response

Re: CGI script not showing the textbox

2006-06-14 Thread Prabu Ayyappan
,mint); #Remove the q in print print end_form, hr ; } -- Prabu M A

Re: Help Required on the Below Script

2006-06-14 Thread Prabu Ayyappan
before \n(concatenation) in the print) #!/usr/bin/perl use strict; use warnings; my $file_name=XXX.txt; open(FILE,$file_name) || die Not been Accessed; while (FILE) { print $_.\n; #place a dot before \n(concatenation) } -- Prabu M A

Re: How to create a new browser window using CGI

2006-06-08 Thread Prabu Ayyappan
=($query_obj-param('menu_name') or ''); print This is your major $major ; } print $query_obj-end_html; exit; -- Prabu M A

Pattern Matching

2004-04-07 Thread prabu
to use /n to distinguish between 2 lines,when decalring them? Or anyother operator needed to be used?. (ie) $pattern=text in 1st line /n text in secondline; $replace=some text; 2. Whether to specify any options in the s/$pattern/$replace/g command? Thanks inadvance, Prabu

Matching pattern in multiple lines

2004-04-07 Thread prabu
to use /n to distinguish between 2 lines,when decalring them? Or anyother operator needed to be used?. (ie) $pattern=text in 1st line /n text in secondline; $replace=some text; 2. Whether to specify any options in the s/$pattern/$replace/g command? Thanks inadvance, Prabu

Re: Matching pattern in multiple lines

2004-04-07 Thread prabu
my repalce is donw with the command inside file operation; while (IN){ s/\Q$pattern\E/$own/m; How to do this? Prabu. Rob Dixon [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Prabu wrote: In pattern matching,I want to match a pattern in multiple line.How to do

Pattern Matching

2004-04-06 Thread prabu
(IN){ if (/$pattern/){ s/$pattern/$replace/g; } Tell me in what way I need to give the ?' symbol in the $pattern string,So that string will be accepted. With Thanks inadvance, Prabu. --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.620

File Handling

2004-04-05 Thread senthil prabu
inadvance, Prabu. Win an evening with the Indian cricket captain: Yahoo! India Promos.

Error in Script

2004-04-04 Thread prabu
; } if (/$img/){ s/$img/\nscript\nimg/g; } if (/$pattern/){ s/$pattern/$own/g; # print $_; } if (/img/){ s/$img/document.write(img/g; } if (/$com/){ s/$com/td);/g; } print OUT $_; } close (OUT); close (IN); rename($test,$filetoopen); }} Thanks inadvance, Prabu

RE: help in find and replacing a string in a number of files

2004-04-02 Thread senthil prabu
; chdir($path); my $file=''; my @files=*.txt; foreach $file (@files){ { inner loop for pattern matchinh }; With Thanks inadvance, Prabu. Win an evening with the Indian cricket captain: Yahoo! India Promos.

help in find and replacing a string in a number of files

2004-04-01 Thread prabu
in this, With Thanks in advance, prabu. --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.620 / Virus Database: 399 - Release Date: 3/11/2004 -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http

table/table and framesetframe/frame/frameset in perl/tk

2004-02-03 Thread Prabu Subroto
Dear my friends... Anybody would be so kind telling me what is similar in perl/tk to arrange the location of a form written in perl/tk? I want a nice look for my perl/tk application. Somewhat like this below: 1. Name : place to type-in 2. Address : place to type-in 3. Telephone : place to

Please...Help me. How to arrange my widget with pack

2002-09-17 Thread Prabu Subroto
Dear my friends, Any body would be so kind to teach me how to put label and input of a form in one row. I am meaning like this : Name of person : [input column with entry widget] Here I rewrote the code under below. Thank you very much in advance. #!/usr/bin/perl use Tk; my $MainWindow =