Hi;
Trying to write a file monitor for temp files using a while loop.
The problem is that the file test does not seem to be re-evaulated
each loop. If I delete the file after the loop has started it
drops into the. SHRUNK test. I would think it would drop out of the
while loop.
while (
Seems like removing the quotes from
TEMPFILE and SIZE did the trick.
Thanks Kipp and Paul.
If anyone wants the full sub leme know off-list.
Scot
-Original Message-
From: Scot [mailto:[EMAIL PROTECTED]]
Sent: Thursday, December 26, 2002 4:32 PM
To: Beginners Perl
Subject: Using
Thanks to Jose and all others who posted.
I now have a working nested hash and a better understanding of them.
Scot
-Original Message-
From: NYIMI Jose (BMB) [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, January 21, 2003 7:34 AM
To: [EMAIL PROTECTED]
Subject: RE: Nested hash creation help
using Mail:: like this ?
Thanks
Scot
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Hi Gurus and beginners;
Anybody figured out a good regular expression to match all
2am crons ? match 0,10,20,30,40,50 2 * * * and 0 2 * * *
Thanks
Scot
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
I'd say an HTML template would be the way to go. You don't need mod_perl to do HTML
templating. You can install HTML::Template, which is a module of the pure perly sort.
Try http://sourceforge.net/cvs/?group_id=1075 or downloadable through PPM if you are
using ActiveState Perl.
Sc
ally contains a param named "contactform".
Scot Robnett
inSite Internet Solutions
[EMAIL PROTECTED]
-Original Message-
From: Teresa Raymond [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, March 19, 2002 2:31 PM
To: [EMAIL PROTECTED]
Subject: script was working now doesn't
Th
Hi All,
Still have a problem with this.
In my perl code I can add to @INC one of 2 ways.
use lib "/path/to/modules/SunOS/5.6"
OR
BEGIN {
use POSIX qw(uname);
my ($uname_s, $uname_r) = (POSIX::uname())[0,2];
unshift(@INC, "/path/to/modules/$uname_s/$uname_r" );
}
If I use the BEGIN
what is in @INC by printing it in your perl code.
print "\@INC is @INC\n";
@INC is /var/opt/modules/SunOS/5.6 ...etc
On Fri, 2002-05-17 at 10:50, drieux wrote:
>
> On Friday, May 17, 2002, at 07:31 , Scot Needy wrote:
>
> > Still have a problem with this.
> > In my
On Fri, 2002-05-17 at 12:01, drieux wrote:
>
> On Friday, May 17, 2002, at 07:59 , Scot Needy wrote:
>
> > I turned on debug in perl5/5.00503/sun4-solaris/DynaLoader.pm
> > $dl_debug = 1;
> >
> > Turns out it WAS scanning /path/to/modules/SunOS/5.6
> > Ju
Hi again all;
Man this list is busy
OK I am back to Solaris::Kstat
Kstat is a Nested hash which can be displayed something like this
foreach my $m (sort(keys(%$ks)))
{
foreach my $i (sort(keys(%{$ks->{$m}})))
{
foreach my $n (sort(keys(%{$ks->{$m}->{$i}})))
{
Hi;
Trying to crate a nested hash from variables parsed out of log files but
as I am a "Beginner Perl' coder it is failing terribly. The basic question
is given you have 5 variables how would you make a nested hash.
Thanks !
Scot
I hope this is enough code to example
;
print Dumper(\%time);
José.
> -Original Message-
> From: Scot Needy [mailto:[EMAIL PROTECTED]]
> Sent: Monday, January 20, 2003 6:50 AM
> To: Beginners Perl
> Subject: Nested hash creation help !
>
>
> Hi;
>
> Trying to crate a nested hash from variables
13 matches
Mail list logo