Skip to search.
perl-beginner · Perl Beginners Mailing List

Group Information

  • Members: 2100
  • Category: Perl
  • Founded: Aug 2, 1998
  • Language: English
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Hear how Yahoo! Groups has changed the lives of others. Take me there.

Messages

  Messages Help
Advanced
Messages 27129 - 27158 of 27344   Oldest  |  < Older  |  Newer >  |  Newest
Messages: Simplify | Expand   (Group by Topic) Author Sort by Date ^
27129 Shlomi Fish
shlomif2 Online Now Send Email
Apr 1, 2011
8:08 am
Hi Randal, Edward, and all. This message is in UTF-8. ... Well, just to be a bit pedantic: \d matches any digit character in Unicode. As a result: [IRC_LOG] ...
27130 Tim Lewis
twlewis64 Offline Send Email
Apr 7, 2011
5:28 pm
This may be a simple question, but I have searched for this answer. Suppose I have a multi-di array. I can make it sort by any one element. But what I need...
27131 merlyn@...
merlynstoneh... Offline Send Email
Apr 7, 2011
5:58 pm
... Tim> Suppose I have a multi-di array. I can make it sort by any one Tim> element. But what I need to sort by two? In my simple example Tim> below, what...
27132 Tim Lewis
twlewis64 Offline Send Email
Apr 7, 2011
6:10 pm
Thanks Randall. I was close. I was using "cmp" instead of <=> for the number portion. Thanks again. I did not know about the other listserver, and found this...
27133 mablci Offline Send Email Apr 12, 2011
3:25 am
Hi I'm trying to search and replace text in one file and save it to a new file. I tried the code below but it seems that I am just simply copying the INFILE...
27134 Noah Garrett Wallach
noah@mci.net Offline Send Email
Apr 12, 2011
3:28 am
Hi there, okay I have a Parallel::ForkManager question. I am just starting off using it. I am getting errors and not sure completely how to mitigate them. I...
27135 tianjun xu
tianjunx Offline Send Email
Apr 12, 2011
5:23 am
change open OUTFILE, "<$output" or die "Can't open $output ($!)"; to open OUTFILE, ">", $output" or die "Can't open $output ($!)"; ... From: mablci...
27136 merlyn@...
merlynstoneh... Offline Send Email
Apr 12, 2011
6:08 am
... mablci> Hi I'm trying to search and replace text in one file mablci> and save it to a new file. I tried the code below but mablci> it seems that I am just...
27137 Tim Lewis
twlewis64 Offline Send Email
Apr 12, 2011
1:48 pm
The arrow for your output is set to read instead of write. Change that line to: open OUTFILE, ">$output" or die "Can't open $output ($!)"; Tim...
27138 Tim Lewis
twlewis64 Offline Send Email
Apr 12, 2011
2:26 pm
I am just wondering if it is getting confused by the "next" statement. Can you try this code below with a foreach and see if it works with that? Tim foreach...
27139 drberg1000 Offline Send Email Apr 13, 2011
1:49 am
I've boiled a problem in a script I'm writing down to the following code: #!/usr/bin/perl my @array = {"string a - ", "string b - "}; @array .= my_sub(); print...
27140 mablci Offline Send Email Apr 13, 2011
4:33 pm
Thanks a lot. M...
27141 Tim Lewis
twlewis64 Offline Send Email
Apr 13, 2011
7:34 pm
Someone else might have a better answer, but this works: use strict; use warnings; my @array = ("string a - ", "string b - "); my $arraytotal = @array; my...
27142 Brian F. Yulga
byulga@... Send Email
Apr 13, 2011
10:52 pm
Hm, I may not understand the problem correctly. I'm not sure if @array ever has more than two items, or if &my_sub needs to take this into account (string 3,...
27143 Charles K. Clarkson
charlesclarkson Offline Send Email
Apr 14, 2011
5:04 pm
... You are using a hash operator {} in an array assignment. You will end up with an array of hashes, not an array. Always, always, always test your...
27144 mablci Offline Send Email Apr 15, 2011
12:27 am
Hi, I am trying to move array elements (populated from the <STDIN>) into a hash as pairs [i] and [i + 1] and then print them out using the code below. If I...
27145 mablci Offline Send Email Apr 15, 2011
12:28 am
Hi, I'm trying to use the Padre IDE for perl. From what I have read I guess it is not really a bonified IDE. However, I have read that one can at least use it...
27146 merlyn@...
merlynstoneh... Offline Send Email
Apr 15, 2011
2:50 am
... mablci> last if ($kv == "stop"); This is a numeric comparison with something that is numerically a "0". Did you want that, or perhaps an "eq" instead of...
27147 Alan Haggai Alavi
alan_haggai Offline Send Email
Apr 15, 2011
2:58 am
Hello M, Adding to what Randal already mentioned, you should pop the 'stop' out of @kv immediately after the following loop: =pod code while ($kv = <STDIN>) { ...
27148 mablci Offline Send Email Apr 15, 2011
7:05 am
... Thanks a lot. That pointed me in the right direction. -M...
27149 mablci Offline Send Email Apr 15, 2011
7:06 am
Thanks a lot. I didn't notice that I was adding the "stop" to my @kv array. -M...
27150 Charles K. Clarkson
charlesclarkson Offline Send Email
Apr 15, 2011
12:32 pm
... Or just don't add 'stop' in the first place: while ( my $kv = <STDIN> ) { chomp $kv; last if $kv eq 'stop'; push @kv, $kv; } Charles Clarkson -- Mobile...
27151 Edward Willekens
edwardwillekens Offline Send Email
Apr 16, 2011
6:17 pm
#!/usr/bin/perl -w use strict; my %hash; my $kv; my @kv; my @v; my $i; my $key; my $value; #create key - value pairs to go into a hash by first entering each ...
27152 merlyn@...
merlynstoneh... Offline Send Email
Apr 17, 2011
5:51 am
... Edward> my %hash; Edward> my $kv; Edward> my @kv; Edward> my @v; Edward> my $i; Edward> my $key; Edward> my $value; I stopped reading here. Never...
27153 Hitarth
hitarthmaru2006 Offline Send Email
May 22, 2011
7:54 am
Hi all, I am supposed to write a perl code that uses SFTP to transfer one file from my server to another server. The arguments are supposed to be read from a...
27154 merlyn@...
merlynstoneh... Offline Send Email
May 22, 2011
8:11 am
... Hitarth> I am supposed to write a perl code that uses SFTP to transfer Hitarth> one file from my server to another server. Sounds a bit like homework. Can...
27155 Hitarth
hitarthmaru2006 Offline Send Email
May 22, 2011
12:23 pm
This is not Homework...I am working in a project where I am supposed to change an existing FTP connection to an SFTP, with perl....
27156 Shawn H Corey
shawnhcorey... Offline Send Email
May 22, 2011
1:13 pm
... Randal, you know it's impossible to prove a negative. Hitarth, don't let Randal get to you. I normally don't answer questions about modules I don't have...
27157 merlyn@...
merlynstoneh... Offline Send Email
May 22, 2011
1:39 pm
... Shawn> Randal, you know it's impossible to prove a negative. Sure he can. He can give a context that doesn't make it sound artificial. Which he almost...
27158 pai_boss Offline Send Email May 24, 2011
11:05 pm
Hi, I want a simple perl script which takes my file results.txt and uploads it in the site http://my_company_project_site/results.txt How can i do it? thanks...
Messages 27129 - 27158 of 27344   Oldest  |  < Older  |  Newer >  |  Newest
Add to My Yahoo!      XML What's This?

Copyright © 2010 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines NEW - Help