Come for the quick hacks, stay for the epiphanies. | |
PerlMonks |
Open file and formfillby fame (Initiate) |
on Apr 26, 2012 at 02:26 UTC ( [id://967217]=perlquestion: print w/replies, xml ) | Need Help?? |
fame has asked for the wisdom of the Perl Monks concerning the following question: I have a question.. I have perl bot thats uses IRC. One of the functions that I have it do upon a command is it opens a file with random emails and fills the form on a website. This is how I have it read the file and select a random line.
This is how I have it form fill.
My problem is this: When it fills the form, it fills in the email address and the return html coding will look something like this: name="email" id="email" value="blahblah@email.com " size="35" maxlength="255" class="formFld" /> The email address is entered within the " " and then for some reason jumps to a next line like above. I need it for when it fills the form that it stays all on the same line within the " ". Example: name="email" id="email" value="blahblah@email.com" size="35" maxlength="255" class="formFld" /> Does anyone have a solution for me? Any help would be GREATLY appreciated. Thanks
Back to
Seekers of Perl Wisdom
|
|