Hi All Been looking at the stat function lately and have written a small bit of code in perl, but having difficulty getting it to work when using a while or...
27262
Shawn H Corey
shawnhcorey@...
Jan 29, 2012 1:11 pm
... Is your /home a separate partition? If so, then it has a directory called lost+found and you don't have permission to read its stats. The error message you...
27263
Shawn H Corey
shawnhcorey@...
Jan 29, 2012 1:31 pm
... Oops, got distracted by the wrong error. Try this instead: #!/usr/bin/perl use strict; use warnings; use File::stat; my $dir = '/home39;; opendir( my...
On Sun, 29 Jan 2012 01:46:43 -0800 (PST) ... [...] ... The stat() call returned undef. If you print the value of $file within the loop, you'll see why;...
Hey, Just in case, as "beginners", you'all might not be getting all the Perl buzz; YAPC::NA http://www.yapcna.org/ will be in Madison this June. Having been...
27267
seismokid
seismokid@...
Feb 2, 2012 9:59 pm
Andy, thanks! That's great to know. And I have a sister in Madison so combining this with seeing her is a real possibility.... :) --Peg ... [Non-text...
This is a website I designed a few years ago. The CONTACT and EMAIL SUBSCRIBE forms used to work, and they are broken. When I click on the Submit button, I get...
On Tue, 14 Feb 2012 14:21:16 -0000 ... Look in your web server's error_log or similar log file for clues as to what's going wrong. First, though, I'd very...
This is a website I designed a few years ago. The CONTACT and EMAIL SUBSCRIBE forms used to work, and they are broken. When I click on the Submit button, I get...
LOL sorry for typo, *beginning ... -- Regards, Chankey Pathak <http://javaenthusiastic.blogspot.com> [Non-text portions of this message have been removed]...
Hello Todd, ... "Perl for Newbies" is a good tutorial: http://perl-begin.org/tutorials/perl-for-newbies/ Regards, Alan Haggai Alavi. -- The difference makes...
Hi David, I changed the shebang line in the original Matt's script, but still got the config error. Then I uploaded the NMS version after altering @referers,...
Thanks will take a look at it tonight ! If i have any questions, i will ask ! Thanks again ! Todd ________________________________ From: Chankey Pathak...
Hi all, Due to all the slashes and brackets and parentheses involved, it's a bit of a hassle to Google this to get answers. Can someone please tell me what...
On Fri, 09 Mar 2012 02:59:27 -0000 ... \d is a character class matching "digits"; {5,5} is a repetition range, matching between five and five repeats - so, it...
Hi Tony, ... \d is a digit and represents [0-9], but not just [0-9] but also digits from non-roman scripts, while x{n,m} is for matching repetitions, i.e, ...
Hi Fred, Please, check my comments and possible solution within your mail. ... The programming language is Perl not PERL. ... open (NEW, '>niceviewscript.pl39;)...
Hi Fred, ... I don't know the version of FileZilla you have, but I believe you could download a new one for use. I use version 3.5.1, I think the recent one is...
Is it possible to use javascript to call a perl script on a local machine? I want to create a search engine for my locally stored files, which include wget...
Hi Christopher, On Sun, 01 Apr 2012 20:07:32 +0100 ... In addition to what Matthew said about IE and ActiveX, then a custom Firefox extension should be able to...
Hi I have written a script that does what I want, but it looks rather messy. Would be interested if any one could indicate how I could make it more efficient....
27286
Shawn H Corey
shawnhcorey@...
Apr 3, 2012 1:30 pm
... Unused items should be undef: my (undef, undef, undef, $PV) = split(/\s+/, $result); You could alternately use an index: my $PV = (split(/\s+/,...
DISCLAIMER: I don't have vgdisplay, so I can't really test this to see if it works, but it might be a little simpler to start with something closer to this....
... Matthew> while (`/usr/sbin/vgdisplay Matthew> -v vg03 | /usr/bin/grep 'PV Name| awk '{print Matthew> $4}'`) { Matthew>      Matthew> next if  $_ !~...