Hello All,
I have been having trouble figuring out Mechanize module specially on
getting back the results after submitting a form. I am trying to
access ancestry dot com to get the results according to the the form
that I submit. Fallowing code is written to fill the First Name input
field and
I have the fallowing html code, and in this code segment i want to
fill the field but the problem is instead of name the field as field
nameblabla/ they use the input id=blabla/ tag.
It will be a great help if someone could guide me on this...
div id=treeform class=treeformWide
form
Hi after going over the FAQ and the examples I decided to write a
small script to understand the WWW::Mechanize module. Since Google has
one field and two buttons I thought this would be a straight forward
one. So I wrote the fallowing script. At the end of the script I
thought the script will
On Nov 1, 7:39 am, [EMAIL PROTECTED] (Paul Lalli) wrote:
On Nov 1, 1:32 am, [EMAIL PROTECTED] (newBee) wrote:
I am in the process creating in some queries using a Perl script and
want to run the out put of the perl script against another external
software. As example lets say I have Perl
I am in the process creating in some queries using a Perl script and
want to run the out put of the perl script against another external
software. As example lets say I have Perl script which takes a query
string cleanup all wild characters and run that against the Google,
Yahoo, Ask etc. How can
I have the fallowing code segment in my code. I want to print my
%termWeightHash to see if i have correct data at the end of the this
computation. Since this hash has two keys(I guess way to think that is
hash within) I am not sure how to print it..
regular one key has i could print like this...
I have the fallowing code segment in my code. I want to print my
foreach $document(@documents){
$valueOfTermD = 0;
$powerOfTermD = 0;
foreach $term(keys %termWeightHash){
if($termWeightHash{$term}{$document}){
$powerOfTermD =
^([a-zA-Z0-9_\-\.]+)@([a-zA-Z0-9_\-\.]+)\.([a-zA-Z]{2,5})$
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/
^([a-zA-Z0-9_\-\.]+)@([a-zA-Z0-9_\-\.]+)\.([a-zA-Z]{2,5})$
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/
^([a-zA-Z0-9_\-\.]+)@([a-zA-Z0-9_\-\.]+)\.([a-zA-Z]{2,5})$
Its look like an email address... is it..? it will be a great help if
some one could give a breakdown on the this regex.
thanks in advance...
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL
Sorry my previous entry I didn't have much information,
What i want to do is, allow the user to input word until the user
enter a certain key to end the standard input. I am not sure how to do
this in perl... may be i am not using regex correctly... or may be i
am not handling the control
Can someone tell me how to allow user to keep enter data until the
user hit certain key such as /q/i i was thinking something like this
print enter data\n;
$userInput = STDIN;
while(chomp($userInput) ne /q/i ) {
#bla bla bla
}
Thanks in advance...
--
To unsubscribe, e-mail: [EMAIL
On Oct 21, 4:08 am, [EMAIL PROTECTED] (Jeremy Kister) wrote:
On 10/21/2007 1:05 AM, newBee wrote:
$userInput = STDIN;
while(chomp($userInput) ne /q/i) {
@lineArray = split '\W+', $userInput;
foreach $word(@lineArray){
if($DEBUG){print $word\n;}
}
}
while(STDIN
a chance to look so I used something like this which did the job /
\b(tony|anthony)\b/i .. I think i am going to see the performance
difference between that and /tony/i || /anthony/i ... do we have a
inbuilt time function in perl..?
Thanks
newBee
--
To unsubscribe, e-mail: [EMAIL PROTECTED
Hi Guys...
I am new to regular expression and perl. I want right and regular
expression to catch Tony or Anthony so I did it something like this..
[tony?anthony]. It will be great if some could tell me how to optimize
this to good regular expression. I am writing this in perl.
Thanks in advance.
15 matches
Mail list logo