I have a text file that I would like to display as a web page with some additional html functions. At each "System Configuration" statement I would like to...
Dear Mike, This is very much possible. The code to achieve this should approximately look like this, this is just an impromptu created code, so please correct...
hi all I am very new to perl and i am learning thru manuals only so kindly help me to solve the following problem, and my job is related to document and text...
I have something along the line of: # FILE1.pl require "FILE2.pl"; eval { &function(); }; print "$@" if $@; print "This never prints.\n" #FILE2.pl sub function...
Hi You can try by removing the underscore before eval function i.e. eval { &function(); }; not _eval…. and i suppose you have any other coding other than...
Hello, while installing some package that has configure script we can pass the argument --PREFIX=/USR or --PREFIX=/USR/LOCAL etc. how do i pass such arguments...
Hi All, I recently installed Perl (Indigo Perl) to run under Windows XP/Apache, but cannot run anything. Can you provide me simple steps to do it? Thanks...
Hi, I am trying to write a perl script that calls Oracle lsnrctl and resets the listener password. The problem is that once I am into lsnrctl and issue the...
Hi: I'm making a daemon for linux, but this daemon stop if any error occurs. ¿How can I to do that this daemon do not stop never? Thanks and sorry for my bad...
... Hi Antonio, You can create a cron script which checks regular whether the script is died, if it has then restart it. Alternatively you can fork the process...
... Yes you can use regular expressions for that ... $ID = 2552399; if($ID =~ /[\d]+/) { print qq{This is a digit}; } ________________________________________ ...
Hi, You can explore the following idea: $x=11; $y="This a string"; print "$x is a number" if !($x & ~$y); print "$y is a string " if ($x & ~$y); Regards, ...
Quick Question. Lets say you have the following $string = "http://www.ford.com/index.cgi?item=1" I want to replace index.cgi?item=1 How do I do this. I can't...
I'm having trouble. I read a file to an array. open (FILE, ......) @array=<FILE>; Now I want to replace multiple phrases(portions of a line) in the file with...
... Well a couple of ways to do it: Rough unchecked code would go like this @blownup = split /\//, $string; $blownup[$#blownup] = "new value"; $string =...
... Michael> Quick Question. Michael> Lets say you have the following Michael> $string = "http://www.ford.com/index.cgi?item=1" Michael> I want to replace...
... Sorry, but my english are not good enought to understand what u mean. Please tell me what you want to do and I will help you if I can. I hope that ...
... If you need to replace "mechanical robots" with "human androids" then: @array =~ s/mechanical robots/human androids/ig; Take care, Paul Alapatt ...
... Ntina> @array=split("?", $string); I doubt that you tried that. Because "split" will treat the first parameter as a regex. Note for you in the future....
The question mark is a special character, so you need to escape it with \ $string = "http://www.ford.com/index.cgi?item=1"; print "$string\n"; $string...
Hi All I am new to Perl and I am into Testing ,I want to Get into Perl Automation Testing.So please Can any one Help me I want to Know How do u use perl in...
... Dear Srinivas, Welcome to PERL. :) It would not be possible to write snippets on PERL Testing code, because it would depend on what is the 2nd app you wish...
Hi Paul Pattern match will not work in Array; i feel that the following code works fine print @array; foreach(@array) { $_ =~ s/mechanical robots/human...
Hi all, sorry for posting offtopic message... In smtp.. after establishing telnet connection with mail exchange server.. and after giving series of commands...
Dear All, Right now I am in deep trouble to find a suitable solution to the following problem. I am truly in dire need of you help. I beg for your help. Please...