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@...
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...
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@...
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@...
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> 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...
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 = @_; ...
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...
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,> 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?...
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...
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 :...
... 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: ...
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 ...
#!/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; #...
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...
... Generally, algorithms should avoid comparing integer values to floating point values. Now you know why. HTH, Charles Clarkson -- Mobile Home Investor Free...
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]...
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> 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 ...
... Charles> Generally, algorithms should avoid comparing integer values to Charles> floating point values. Now you know why. Even comparing floats to floats...
... 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@...
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...