Search the web
Sign In
New User? Sign Up
perl-beginner · Perl Beginners Mailing List
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Message search is now enhanced, find messages faster. Take it for a spin.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
Messages 26593 - 26625 of 26720   Oldest  |  < Older  |  Newer >  |  Newest
Messages: Simplify | Expand   (Group by Topic) Author Sort by Date ^
26593
Hello Everyone: Can someone explain/correct what I have done wrong here? I want it to output all values (Larry, Moe and Curly), but it's only giving me the...
essential quint
quintessential1@...
Send Email
May 4, 2009
6:41 am
26594
... essential> Can someone explain/correct what I have done wrong here? I want it essential> to output all values (Larry, Moe and Curly), but it's only giving...
merlyn@...
merlynstoneh...
Online Now Send Email
May 4, 2009
7:22 am
26595
Hello Randall: You missed the point entirely. In a nutshell, I need to pass a number of parameters between subs. Getting back on track - Given the extremely...
essential quint
quintessential1@...
Send Email
May 4, 2009
7:54 am
26596
... No, he got it. You just didn't listen. ... You have three local variables defined in a subroutine with no explicit return. A perl sub with no explicit...
Jeff Soules
soules@...
Send Email
May 4, 2009
11:42 am
26597
On Mon, May 4, 2009 at 3:54 AM, essential quint <quintessential1@... ... His name is Randal. (Why does everyone add an 'l' to the end of his name?) ...
Jeff Pinyan
evilffej
Offline Send Email
May 4, 2009
2:19 pm
26598
... Jeff> His name is Randal. (Why does everyone add an 'l' to the end of his Jeff> name?) Sadly, it's the more common spelling. I blame my parents. :) Mom...
merlyn@...
merlynstoneh...
Online Now Send Email
May 4, 2009
4:06 pm
26599
You need to change sub_a to : sub sub_a { my $x = "Larry"; my $y = "Moe"; my $z = "Curly"; return ($x, $y, $z); } and sub_b to : sub sub_b { my @values = @_; ...
yehezkielbs
Offline Send Email
May 4, 2009
11:21 pm
26600
Hi How do I extract the number of weeks from the datecalc output. I have generated the difference between 2 dates, but I want to present the week field i my...
taz.hasan@...
taz.hasan...
Offline Send Email
May 5, 2009
10:30 am
26601
date calculation can be tricky to do correctly, luckily there has been good work done in this area, see...
david wright
david_v_wright
Offline Send Email
May 5, 2009
5:35 pm
26605
Is there a Perl module that has a command that will remove all files that are over X days old in a directory? Or will I have to write something? I've try...
Dukelow, Don
dondukelow
Offline Send Email
May 18, 2009
5:10 pm
26606
... Dukelow,> Is there a Perl module that has a command that will remove all files that are over X days old in a directory? Or will I have to write something?...
merlyn@...
merlynstoneh...
Online Now Send Email
May 18, 2009
5:28 pm
26607
Hi List, First time poster here, and perl beginner. I have a question about a perl one-liner I am trying to put together to hex encode an ascii string, except...
Bill Landry
bill_landry
Offline Send Email
May 19, 2009
4:35 am
26608
You are very close, but what you want is something like: perl -e 'while ( $ARGV[0] =~ /([a-fA-F0-9]{2})|(\{[^}]*\})|(\([^\)]*\))/g ) {print ( defined $2 ? $2 :...
Robert Lee Binkley
leebinkley
Offline Send Email
May 19, 2009
11:48 pm
26609
... Thanks Robert, that does indeed work. ... However, someone else sent me this modification to what I already had, and it seems to be working just great: ...
Bill Landry
bill_landry
Offline Send Email
May 20, 2009
2:32 am
26610
Would someone please provide me the below if your currently using ds 4000 ? Thanks Robert 1: df -g output 2: ls -lv 3: ls -vg 4: ls vg -p 5: fget_config -Av ...
Robert Lee Binkley
leebinkley
Offline Send Email
May 23, 2009
2:26 am
26611
No guarantee, this is extracted from some of an application. I think it's complete, but you should verify and test all your code! my $LOGFILE_DIR =...
Wittich,Douglas G
n3vej
Offline Send Email
May 29, 2009
11:31 am
26612
... You should use File::Find ( http://search.cpan.org/perldoc?File::Find ), File::Find::Object: ...
Shlomi Fish
shlomif2
Online Now Send Email
May 29, 2009
1:18 pm
26613
#!/usr/bin/perl # delold.pl - delete old files use strict; use warnings; use Win32::Autoglob; use Getopt::Long; $| = 1; sub print_usage; sub abort_usage; #...
Robert Lee Binkley
leebinkley
Offline Send Email
May 29, 2009
10:09 pm
26614
... Robert> next FILE if !-e $file; Robert> next FILE if !-f $file; If it's not -f, it's not -e. No point in checking both. -- Randal L. Schwartz -...
merlyn@...
merlynstoneh...
Online Now Send Email
May 30, 2009
3:36 am
26615
Hi all, I'm a beginner in Perl and I slowly started writing small programs in it. While I was playing with the if and while loops in Perl, I got into a really...
edu_kumar
Offline Send Email
Jun 2, 2009
1:00 pm
26616
... Generally, algorithms should avoid comparing integer values to floating point values. Now you know why. HTH, Charles Clarkson -- Mobile Home Investor Free...
Charles K. Clarkson
charlesclarkson
Offline Send Email
Jun 2, 2009
1:52 pm
26617
... edu> while($index <1) { edu> print ("$index < 1 is true! \n"); edu> $index += 0.1; edu> print ("$index\n"); edu> ---------------------------Program ends...
merlyn@...
merlynstoneh...
Online Now Send Email
Jun 2, 2009
2:38 pm
26618
You are adding after the fact and printing then it goes back to the test. If I move up the print to before the print true, here is the output: [C:/Common]...
Robert Lee Binkley
leebinkley
Offline Send Email
Jun 3, 2009
5:01 pm
26619
Hey Charles, Thanks very much for your response. It truly an eye opener, i guess i'm still thinking of it as Java since I was more of a java programmer till...
edu_kumar
Offline Send Email
Jun 3, 2009
7:08 pm
26620
... edu> Thanks very much for your response. It truly an eye opener, i guess i'm edu> still thinking of it as Java since I was more of a java programmer till ...
merlyn@...
merlynstoneh...
Online Now Send Email
Jun 3, 2009
9:34 pm
26621
... Charles> Generally, algorithms should avoid comparing integer values to Charles> floating point values. Now you know why. Even comparing floats to floats...
merlyn@...
merlynstoneh...
Online Now Send Email
Jun 3, 2009
11:26 pm
26622
perl -le 'printf("%f %f %f\n", 4294967295, 2147483647*2**32, 2147483647*2**32+4294967295)' 4294967295.000000 9223372032559808512.000000...
Kelly Jones
kelly.terry.jones@...
Send Email
Jun 4, 2009
1:21 am
26623
... Kelly> perl -le 'printf("%f %f %f\n", 4294967295, 2147483647*2**32, Kelly> 2147483647*2**32+4294967295)' Kelly> 4294967295.000000...
merlyn@...
merlynstoneh...
Online Now Send Email
Jun 4, 2009
1:40 am
26624
... Not trolling. I'm trying to convert node latitude/longitudes in openstreetmap.org into 63-bit INTs for sqlite3 rowid number. I'm on a 32-bit machine, so %u...
Kelly Jones
kelly.terry.jones@...
Send Email
Jun 4, 2009
1:53 am
26625
... Kelly> Not trolling. I'm trying to convert node latitude/longitudes in Kelly> openstreetmap.org into 63-bit INTs for sqlite3 rowid number. The problem is...
merlyn@...
merlynstoneh...
Online Now Send Email
Jun 4, 2009
2:00 am
Messages 26593 - 26625 of 26720   Oldest  |  < Older  |  Newer >  |  Newest
Advanced
Add to My Yahoo!      XML What's This?

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