Hi,
I want to start Tcl/tk,Can anybody guide me good book or link for the
beginner.
Thanks
Hridyesh
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/ http://learn.perl.org/first-response
Hi Dhanashri
If you are looking for GUI test automation.you can try
Win32::GUITest.
Thanks
Prasanna
-Original Message-
From: Shalaka [mailto:[EMAIL PROTECTED]
Sent: Thursday, May 18, 2006 6:56 PM
To: beginners@perl.org
Subject: Any CPAN module similar to Winrunner
Hi List!
I'm
Hi all, I tried installing Set::Array and I got the following error:
# Failed test 'use Set::Array;'
# in t/test.t at line 7.
# Tried to use 'Set::Array'.
# Error: Can't locate Want.pm in @INC (@INC contains:
/root/.cpan/build/Set-Array-0.14/blib/lib
Hi Kaushal
The only alternative I can think of is to convert your chm file to pdf
or rtf and then attempt a print.
You can get the convert from
http://www.freedownloadscenter.com/Best/free-chm-to-pdf.html
Also can you please send me the chm file?
It can be quite handy to me.
Thanks
HI
I uploaded a file from the HTML from through input type=file...
and in the POST operation I am calling the perl file and in that I try
reading the file with the CGI variable and then write it into one location.
If I do any changes in the text box in the HTML, say I changed the file
name
HOY! People spend years writing those books - buy it!
*annoyed*
On Friday 19 May 2006 11:03, Nagasamudram, Prasanna Kumar wrote:
Hi Kaushal
The only alternative I can think of is to convert your chm file to pdf
or rtf and then attempt a print.
You can get the convert from
Hi
Hi Kaushal
The only alternative I can think of is to convert your chm file to pdf
or rtf and then attempt a print.
You can get the convert from
http://www.freedownloadscenter.com/Best/free-chm-to-pdf.html
Also can you please send me the chm file?
It can be quite handy to me.
I think
Hi all,
How do you pass a string inside an under system call.
I tried to pass a string like this under EMAIL option:
system(perl mycode.pl -email 'test_string' -type $sometype -unit $some_unit);
or
system(perl mycode.pl -email $receipt_email -type $sometype -unit
$some_unit);
But while
Wijaya Edward wrote on [Friday, May 19, 2006 3:56 PM]
Hi Edward,
Hi all,
How do you pass a string inside an under system call.
I tried to pass a string like this under EMAIL option:
system(perl mycode.pl -email 'test_string' -type $sometype -unit
$some_unit);
or
system(perl mycode.pl
I am going to deliver a training about Perl programming to a group of persons.
I was wondering where I can get some PPTs to help to promote the training.
--
Besh wishes,
Japerlh
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Hi Nanda,
Thanks for your reply.
system(perl mycode.pl -email \$receipt_email\ -type $sometype -unit
$some_unit);
But it still cannot work.
What I have in mycode.pl looks like this:
__BEGIN__
use strict;
use Data::Dumper;
use Getopt::Long;
print Dumper [EMAIL PROTECTED]
Hi Edward,
__BEGIN__
use Acme::Spork;
my $req_id = spork( sub { system(perl compute_price.pl -eml \$uemail\
-type $ct -unit $nu); } )
or die qq {Could not fork for spork: $!};
__END__
Any idea?
What's this Acme::Spork package about(i have no idea) and it is not installed
on my system.
Hi,
When using some modules for parsing RSS files or when using the PPM utility,
sometimes appears the following warning:
could not find ParserDetails.ini in D:/usr/site/lib/XML/SAX
What can I do for avoiding that warning?
Thank you.
Teddy
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For
Hi All
#!/usr/bin/perl -w
whats -w flag stands for and what is its use, I mean How do i use it
and any other flags are also there, Please specify
Thanks
Kaushal
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/
Hi Kaushal
-w is to enable warning messages.
Try running the following code to see the difference with and w/o -w.
x.pl
-
$str=a+2;
print $str,\n;
-
$ perl x.pl
2
$ perl -w x.pl
Unquoted string a may clash with future reserved word at p2.pl line
Hi List,
I am trying to grep a variable from a scalar value. Here is the example below.
$var = mydisk;
$line = mydisk is bad;
if (grep/\$var/,$line) {
print disk is not bad;
}
This does not seems to work.
Please help me out in figuring out this.
TIA,
Cheers,
Umesh
--
To unsubscribe,
-Original Message-
From: Umesh T G [mailto:[EMAIL PROTECTED]
Sent: Friday, May 19, 2006 8:54 AM
To: Perl Beginners
Subject: Grep a variable
Hi List,
I am trying to grep a variable from a scalar value. Here is the
example
below.
$var = mydisk;
$line = mydisk is bad;
if
On Fri, 2006-19-05 at 17:48 +0530, Kaushal Shriyan wrote:
Hi All
#!/usr/bin/perl -w
whats -w flag stands for and what is its use, I mean How do i use it
and any other flags are also there, Please specify
The flags can be found in `perldoc perlrun`.
--
__END__
Just my 0.0002 million
* Umesh T G [EMAIL PROTECTED] [2006-05-19T08:54:17]
I am trying to grep a variable from a scalar value. Here is the example
below.
$var = mydisk;
$line = mydisk is bad;
if (grep/\$var/,$line) {
print disk is not bad;
}
The simplest answer, already given, is that you should lose the
Wijaya Edward schreef:
I tried [...]
system( perl mycode.pl -email 'test_string'
-type $sometype
-unit $some_unit ) ;
But while debugging for mycode.pl I can't see the value for
[-email], while I can see the value for [-type]
Maybe
Kaushal Shriyan schreef:
#!/usr/bin/perl -w
whats -w flag stands for and what is its use, I mean How do i use it
and any other flags are also there, Please specify
The Subject of your message doesn't cover your question, that is about
the switches of the perl executable.
From the prompt,
Wijaya Edward wrote:
Hi all,
How do you pass a string inside an under system call.
Just like you're doing below, unless I'm misunderstanding the question
I tried to pass a string like this under EMAIL option:
system(perl mycode.pl -email 'test_string' -type $sometype -unit
And my actuall system call is this::
Ah that is what you failed to mention :)
__BEGIN__
use Acme::Spork;
my $req_id = spork( sub { system(perl compute_price.pl -eml \$uemail\ -type $ct
-unit $nu); } )
or die qq {Could not fork for spork: $!};
__END__
Any idea?
Yep, as per the docs,
Saboo, Nandakishore wrote:
Hi Edward,
__BEGIN__
use Acme::Spork;
my $req_id = spork( sub { system(perl compute_price.pl -eml \$uemail\ -type $ct
-unit $nu); } )
or die qq {Could not fork for spork: $!};
__END__
Any idea?
What's this Acme::Spork package about(i have no idea) and
I would try to do the make manually for Want.pm and see what errors crop
up...
Graeme McLaren [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Hi all, I tried installing Set::Array and I got the following error:
# Failed test 'use Set::Array;'
# in t/test.t at line 7.
#
Hi Ankur,
On 5/18/06, Ankur Gupta wrote:
perl -0777 -p -i -e 'print abcdefgh\n' *.ext
or
perl -0777 -p -i -e 's#^#abcdefgh\n#' *.ext
or
???
I did this:
perl -p -i -e '$_ = ($ARGV ne $f $f = $ARGV) ? NEW FIRST LINE\n$_
: $_' *.ext
I needed to check if I'm on the first line of a file and only
Hi Hridyesh,
On 5/18/06, hridyesh pant [EMAIL PROTECTED] wrote:
Hi,
I want to start Tcl/tk,Can anybody guide me good book or link for the
beginner.
Googling tk perl came up with these:
http://www.perl.com/pub/a/2001/03/gui.html
http://www.perl.com/pub/a/1999/10/perltk/index.html
I need help in extracting specific data from log files.
The log file has 51 fields I only need 11 fields from
that file. I need to open to a new file output with
only the data from the 11 fields. The new file
will be specific to the customers. I have 10-20 customers
in each log file I need to
Dear Jupiter,
Thanks so much for the reply. However...
you are not passing the variabels to
it
proeprly.
(an oi, why is that written so incredibly hard to read ???)
sorry about that.
So you see it has nothgin to do with using system it has to so
with
calling a funtion as its
Hi Octavian,
On 5/19/06, Octavian Rasnita wrote:
When using some modules for parsing RSS files or when using the PPM utility,
sometimes appears the following warning:
could not find ParserDetails.ini in D:/usr/site/lib/XML/SAX
What can I do for avoiding that warning?
You should search the web
On 5/19/06, David Romano [EMAIL PROTECTED] wrote:
Hi Ankur,
On 5/18/06, Ankur Gupta wrote:
perl -0777 -p -i -e 'print abcdefgh\n' *.ext
or
perl -0777 -p -i -e 's#^#abcdefgh\n#' *.ext
or
???
I did this:
perl -p -i -e '$_ = ($ARGV ne $f $f = $ARGV) ? NEW FIRST LINE\n$_
: $_' *.ext
This'll
Wijaya Edward wrote:
Dear Jupiter,
Thanks so much for the reply. However...
you are not passing the variabels to
it
proeprly.
(an oi, why is that written so incredibly hard to read ???)
sorry about that.
So you see it has nothgin to do with using system it has to so
with
calling
1) Start--Run
2) In the text-box provided, type Powerpnt.exe
3) Click Ok.
4) In the application window that appears, click File--New
HTH!
-Original Message-
From: Japerlh [mailto:[EMAIL PROTECTED]
Sent: Friday, May 19, 2006 3:47 AM
To: beginners@perl.org
Subject: Help: Need PPT
On 5/19/06, Umesh T G [EMAIL PROTECTED] wrote:
Hi List,
I am trying to grep a variable from a scalar value. Here is the example below.
$var = mydisk;
$line = mydisk is bad;
if (grep/\$var/,$line) {
print disk is not bad;
}
[snip]
TIA,
Cheers,
Umesh
As others have pointed out, get
Bjørge Solli wrote:
HOY! People spend years writing those books - buy it!
Seconded. Under US law, you may copy one article or one *chapter* under
certain circumstances.
As a hint, I got several new O'Reilly texts in mint condition used at
very affordable prices as used books on
Kevin Viel wrote:
Bjørge Solli wrote:
HOY! People spend years writing those books - buy it!
Seconded. Under US law, you may copy one article or one *chapter* under
certain circumstances.
As a hint, I got several new O'Reilly texts in mint condition used at
very affordable prices as
hello folks,
I'm slurping in a large file and seeing a nice speedup versus line by line
processing...but I'm losing it in my (likely poorly constructed!)
reg-expression match
I do: -
#
# look for potentially problematic code of the following form: -
# STW b0, *SP--[3]
Jeff Stout wrote:
I need help in extracting specific data from log files.
The log file has 51 fields I only need 11 fields from
that file. I need to open to a new file output with
only the data from the 11 fields.
Your code doesn't show which eleven fields you want to output.
The new file
On 5/19/06, Luke Bakken [EMAIL PROTECTED] wrote:
On 5/19/06, David Romano [EMAIL PROTECTED] wrote:
Hi Ankur,
On 5/18/06, Ankur Gupta wrote:
perl -0777 -p -i -e 'print abcdefgh\n' *.ext
or
perl -0777 -p -i -e 's#^#abcdefgh\n#' *.ext
or
???
I did this:
perl -p -i -e '$_ = ($ARGV ne
One thing you could do is precompile the regex and save it in a variable
ala
my $regex = qr/.*ST\S+\s*\S*B15--.*[^02468]]/o;
my @match_sp = $all_lines =~ /$regex/mg;
Note the 'o' option on the qr//, which tells perl to compile the regex
only once.
I'm not sure if it applies in this case or
Hi Japerlh,
On 5/19/06, Japerlh [EMAIL PROTECTED] wrote:
I am going to deliver a training about Perl programming to a group of persons.
I was wondering where I can get some PPTs to help to promote the training.
Have you thought of gleaning stuff from learn.perl.org? Maybe using
Hi Alan,
On 5/19/06, Alan Campbell wrote:
hello folks,
I'm slurping in a large file and seeing a nice speedup versus line by line
processing...but I'm losing it in my (likely poorly constructed!)
reg-expression match
I do: -
#
# look for potentially problematic code of the
On Fri, 2006-05-19 at 18:46 +0800, Japerlh wrote:
I am going to deliver a training about Perl programming to a group of persons.
I was wondering where I can get some PPTs to help to promote the training.
There is some perl training notes on sourceforge under a funny name like
spork I cannot
Alan Campbell schreef:
I'm slurping in a large file and seeing a nice speedup
versus line by line processing...
I would go back to line-by-line again if the regexp should only match
within one line.
# look for potentially problematic code of the following form: -
# STW b0, *SP--[3]
Dear Jupiter,
b) are the variables what you expect them to be in the spork()ed
process?
Following your advice below it seem so. But...
spork(
sub {
my ( $ue, $con_type, $nb_un ) = @_;
# write the variables to a file here and check that file afterwards
Dear Jupiter,
a) does it do the job by itself:
#!/usr/bin/perl
use strict;
use warnings;
my $ue = 'whatever';
my $con_type = 'whatever';
my $nb_un= 'whatever';
print Running: perl compute_price.pl -email $ue -type $con_type -
unit
$nb_un\n;
system perl
46 matches
Mail list logo