Hello, I'm sorry for not informing you about our trip to Manila Philippines.We had to visit a resort in Manila Philippines,Unfortunately we got mugged at GUN...
Hi there, I am trying to remove all the values in @ignore_routers from the @devices array. %hostnames is where the entire list of hostnames reside. Is there...
The most efficient way to do it, would be to use a hash of hashes initially, and use keys like "ignored" and values of one or zero in the value of the...
... Instead of ignoring the routers in @devices, you might ignore the routers in %hostnames and then retrieve the routers in @devices. my %devices =...
I am having a problem with some lines of text matching my regular expression, but the captured parts of the match are not defined. Attached is a minimal...
Hi warrengallin, Please check my comments below: ... suggest using Perl function *split, *like so, to solve this: #!/usr/bin/perl use strict; use warnings; my...
Hi Just use this one and write again if it does not work. I cannot test it for you, because in the originat text you must have tabulator (\t) and I see here...
Tim, That worked perfectly. Although I am curious about the reason for the regex approach failing, your suggestions makes my script work, which is the most...
From: "warrengallin" <wgallin@...> ... The line above is the problem. The $1 and friends contain the data from the last successful regexp match and...
if ($temp_in =~ m/^(WJG\d{4})\t([^\t]*)\t([^\t]*)\t([^\t]*)\t/){ print "Match is:\n $&\n"; my $sequence = $4; $sequence =~ tr/[a-z]/[A-Z]/; $sequence =~...
27433
perl-beginner@yahoogr...
Feb 1, 2013 9:52 am
Good day, This Perl-Beginner group was set up for people to learn about the Perl language, and how it may be used in their websites. Although there are...
Hi! I have a "red herring" that is driving me crazy. I found your comment, and hope you can help. I have a Yahoo Small Business web page with a <form> that...
... The language is named Perl, never PERL. ... I think you mean a JavaScript script. Java is a vastly different programming language than JavaScript. ... ...
... script works fine until I include a Java \n"; A Java "\n"? (really - it's a "Perl script" - that upper case is like fingernails on the blackboard). But not...
27438
perl-beginner@yahoogr...
Mar 1, 2013 9:35 am
Good day, This Perl-Beginner group was set up for people to learn about the Perl language, and how it may be used in their websites. Although there are...
27439
perl-beginner@yahoogr...
Apr 1, 2013 7:44 am
Good day, This Perl-Beginner group was set up for people to learn about the Perl language, and how it may be used in their websites. Although there are...
27440
Norah Jones
nh.jones01@...
Apr 5, 2013 1:03 pm
I would retrieve my hash table when i pass it in argument at a function. In my case, function1 return my hash table, then i pass my hash table in argument to...
... Pass it by reference: function2( \%hash ); Then work with the hash reference: sub function2 { my $hash = $_[0]; my code browse hash reference; } Or work on...
I've written a class for use by my project, named qpid::proton::Array. It seeks to be a replacement in our code for a standard array, adding additional...
From: "Darryl L. Pierce" <mcpierce@...> ... use strict; # !!! The problem is this line: $self->{_elements} = @elements; It's missing a backslash. This...
I don't know really but is that ok with two semi colons? lives_ok(sub {$array = qpid::proton::Array->new(0, qpid::proton::INT);}, Â Â Â Â Â Â Â Â Â "Can create...
... Which part do you mean? -- Darryl L. Pierce <mcpierce@...> http://mcpierce.multiply.com/ "What do you care what people think, Mr. Feynman?" [Non-text...
From: Oral Akkan <oral_akkan@...> ... Ye.s Both are fine. Let me reformat it for you: lives_ok( sub { $array = qpid::proton::Array->new(0,...
27449
ssysong
ubuntubiker@...
Apr 27, 2013 7:29 pm
i want to fetch images from www.baidu.com. i use the LWP module.i can get the image urls,but i can not download it. look forward ur helps. [Non-text portions...
27450
perl-beginner@yahoogr...
May 1, 2013 7:44 am
Good day, This Perl-Beginner group was set up for people to learn about the Perl language, and how it may be used in their websites. Although there are...