Thanks to everyone for their help! It's been very enlightening!
Stan
On Apr 4, 2012, at 4:51 AM, Shlomi Fish wrote:
> Hi all,
>
> inspired by this thread, I’ve added this item in my “Perl Elements to Avoid”
> page:
>
> http://perl-begin.org/tutorials/bad-elements/#ternary_operator_instead_of_i
On 4/5/12 Thu Apr 5, 2012 1:34 PM, "Somu" scribbled:
> Hello everyone,
>
> #this code works for any valid input
> #
> use strict;
> use warnings;
>
> print "\n\n\tEnter directory : ";
> my $path = <>;
> chomp($path); #but if this line is eliminated, it
> shows d driv
> Just tried installing on a Linux box, but the CPAN install failed.
> This
> reminded me that I had to force the install on the WinXP machine to
> get that
> to install as the same test failed on that too.
>
> Here is the log from the Linux install.
>
> 'YAML' not installed, will not store persi
Hello everyone,
#this code works for any valid input
#
use strict;
use warnings;
print "\n\n\tEnter directory : ";
my $path = <>;
chomp($path); #but if this line is eliminated, it
shows d drive(current drive) for any input
my @files = glob "$path/*" or die;
print "\n\n\t
On 2012-04-04 16:33, lina wrote:
my ($keys, $value) = split /[ ]+/, $line;
That is better written as
split " ", $line;
See perldoc -f split, about this special (and default) split mode.
--
Ruud
--
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beg
> From: Gary Stainburn
It has been a while since I last worked with Selenium, but when I installed Se1
I found the PM file on CPAN was not being kept up to date. I had to replace it
with a newer version from the Selenium download site. In the time I spent
working with it, I got the distinct imp
Just tried installing on a Linux box, but the CPAN install failed. This
reminded me that I had to force the install on the WinXP machine to get that
to install as the same test failed on that too.
Here is the log from the Linux install.
cpan[1]> install WWW::Selenium
Hi folks.
Returning to Perl on Win32 for the first time in ages. Installed Strawberry
Perl and WWW::Selenium. However, when I run the example in the CPAN help
page, it hangs because the $sel->click doesn't work.
If I manually click on the button the rest of the script works fine.
Anyone got a
On Tue, Apr 3, 2012 at 11:38 AM, Om Prakash wrote:
> Hi all,
>
> I have some data which is like
>
> A:12
> B:13
> C: 14
>
> Now the data is line by line and multiple line with A B C is common though
> 12 13 14 is changing, i want to take this data column wise, and the the
> value should come unde
Not sure about the code but i think below logic might work,
1) split the line into two parts , one is patterns and another is values
2) split /assign the patterns to an array and take the count
3) write a loop till the above count is reach and use the value taken in
first step for each pattern in
Hi all,
I have some data which is like
A:12
B:13
C: 14
Now the data is line by line and multiple line with A B C is common though 12
13 14 is changing, i want to take this data column wise, and the the value
should come under A B C. Any help will be appreciated.
Regards.../om
--
To unsubscri
11 matches
Mail list logo