10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I have this assignment and I am not sure how to start it, I am new any help will be appreciated....
(BASH)
Let us say a test is conducted to assess the typing speed for applicants. We need to count # of correctly spelled words and penalize for incorrectly spelled words.
score = (# of... (1 Reply)
Discussion started by: shilling
1 Replies
2. Shell Programming and Scripting
Hi gurus
I am trying to understand some advanced (for me) perl constructions (syntax) following this tutorial I am trying to parse html:
Using Mojo::DOM | Joel Berger
say "div days:";
say $_->text for $dom->find('div.days')->each;
say "\nspan hours:";
say $_->text for... (1 Reply)
Discussion started by: wakatana
1 Replies
3. Programming
Hi gurus, i am trying to write simple perl script using win32 ole which will iterate over all M$ word paragraphs (any text that ends with a hard return) and print only those paragraphs that matches the specified condition. The problem is that I need to access font size property. It seems to me that... (0 Replies)
Discussion started by: wakatana
0 Replies
4. Shell Programming and Scripting
Hello Gurus,
I am begginer in perl. I would like to ask several questions, some related to perl and its syntax but most will be regarding to WIN32 OLE. My main goal is to develop script that will check word document structure (return some information) and make some changes in this document (if it... (0 Replies)
Discussion started by: wakatana
0 Replies
5. Shell Programming and Scripting
I am trying to insert a picture into a worksheet in Excel using Perl the following is the code
use Win32::OLE;
use Win32::OLE::Const "Microsoft Excel";
use Win32::OLE qw(in with);
# Initiate Excel application
$Excel = Win32::OLE->new('Excel.Application', 'Quit');
$Excel->{Visible} =1;
#... (1 Reply)
Discussion started by: cold_Que
1 Replies
6. Shell Programming and Scripting
Hello All,
I have executed one script where i am getting this error,what may be the reason.....
please help me out.
OLE exception from Microsoft Excel
Win32::OLE(0.1403) error 0x800a03ec
in METHOD/PROPERTYGET "open" (1 Reply)
Discussion started by: suvenduperl
1 Replies
7. Shell Programming and Scripting
Hi,
Now i work in a code that
1-get data stored in the database in the form of hash table with a key
field which is the " Name"
2-in the same time i open a txt file and loop through it word by word
3- which i have a problem in is that :
I need to loop word by word and check if it is a... (0 Replies)
Discussion started by: eng_shimaa
0 Replies
8. Shell Programming and Scripting
hi,
i need to write a spell check program in bash to find all possible spelling errors in a file or a number of files taken as input using usr/dict/words.
whenever the program encounters a spelling error, it must state the line number at which the incorrect spelling has occured and... (1 Reply)
Discussion started by: kratos.
1 Replies
9. UNIX for Dummies Questions & Answers
# cat wrong.txt
thiis is going to be wrong words containing file
# aspell list < wrong.txt
thiis
I want to check only one word and see the first suggestions ("this" in this case). something like...
aspell list --one-word thiis --suggest (5 Replies)
Discussion started by: shantanuo
5 Replies
10. Post Here to Contact Site Administrators and Moderators
Administrator/Moderators,
I would like to put forth a request rather a suggestion in other words.
How about the inclusion of 'SPELL CHECK' tool along with existing submit reply and preview post tools?
I believe that would be very much helpful in understanding questions clearly deprived of... (2 Replies)
Discussion started by: matrixmadhan
2 Replies
WWW::Mechanize::FormFiller::Value::Random::Word(3pm) User Contributed Perl Documentation WWW::Mechanize::FormFiller::Value::Random::Word(3pm)
NAME
WWW::Mechanize::FormFiller::Value::Random::Word - Fill a word into an HTML form field
SYNOPSIS
use WWW::Mechanize::FormFiller;
use WWW::Mechanize::FormFiller::Value::Random::Word;
my $f = WWW::Mechanize::FormFiller->new();
# Create a random value for the HTML field "login"
my $login = WWW::Mechanize::FormFiller::Value::Random::Word->new( login => size => 1 );
$f->add_value( login => $login );
# Alternatively take the following shorthand, which adds the
# field to the list as well :
# If there is no password, put a random one out of the list there
my $password = $f->add_filler( password => Random::Word => size => 1 );
# Spew some bogus text into the comments field
my $comments = $f->add_filler( comments => Random::Word => size => 10 );
DESCRIPTION
This class provides a way to write a randomly chosen value into a HTML field.
new NAME, LIST
Creates a new value which will correspond to the HTML field "NAME". The "LIST" is the list of arguments passed to
Data::Random::rand_words. If the list is empty, "size => 1" is assumed.
name [NEWNAME]
Gets and sets the name of the HTML field this value corresponds to.
value FIELD
Returns the value to put into the HTML field.
EXPORT
None by default.
COPYRIGHT AND LICENSE
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
Copyright (C) 2002,2003 Max Maischein
AUTHOR
Max Maischein, <corion@cpan.org>
Please contact me if you find bugs or otherwise improve the module. More tests are also very welcome !
SEE ALSO
Data::Random, WWW::Mechanize, WWW::Mechanize::Shell, WWW::Mechanize::FormFiller, WWW::Mechanize::FormFiller::Value::Value,
WWW::Mechanize::FormFiller::Value::Default, WWW::Mechanize::FormFiller::Value::Fixed, WWW::Mechanize::FormFiller::Value::Interactive
perl v5.10.1 2009-04-24 WWW::Mechanize::FormFiller::Value::Random::Word(3pm)