Hi there
Scuse any netiquette errors - I'm new to mailing lists so I'm a bit shaky on
the rules.
Use an external style sheet to hold your css information then all you need
to do is add the following line to your perl code in the head tags in the
html output
to put this into a perl context
pr
Hi Nathan
> Roger G. Romeril replied to an email about test sites for cgi scripts. He
> mentioned that instead, it would be better to get a stripped down pc and
> load Linux, perl, and apache and play with that. Well, I decided to do
just
> that. While the suggestion wasn't specifically aimed
Hi there - I'm on both both perl lists so I'll save you repost
To call a script from a webpage you just have to link to that script with
the anchor tag
eg:
link here
this will call the script
to pass variables into the script you can use web forms
eg:
the cgi script at the other end sho
hanks a lot...
Richard
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/
i have a c program that I want to just run from perl and capture output
I would have thought
my $c_output = `/tmp/c_program`;
would get me the output of the program.
instead it prints out to the screen.
Is there way to redirect STOUT just for that line and put it back to normal?
--
To unsubs
Chas. Owens wrote:
On Sun, Nov 30, 2008 at 00:52, Richard <[EMAIL PROTECTED]> wrote:
i have a c program that I want to just run from perl and capture output
I would have thought
my $c_output = `/tmp/c_program`;
would get me the output of the program.
instead it prints out to the
while going over below example from the book, I am not understanding
why/how below program works.
Can someone explain this to me in better way?
what is READER exactly reading from???
and what does print while do ? I thought all the print happens
during factorial() and fibonacci()
use warning
Raymond Wan wrote:
Hi Richard,
Richard wrote:
while going over below example from the book, I am not understanding
why/how below program works.
Can someone explain this to me in better way?
Have you tried running it? does it work like what you expect?
what is READER exactly reading
Raymond Wan wrote:
Hi Richard,
Richard wrote:
while going over below example from the book, I am not understanding
why/how below program works.
Can someone explain this to me in better way?
Have you tried running it? does it work like what you expect?
what is READER exactly reading
Raymond Wan wrote:
Hi Richard,
I'm no Perl expert, but it sounds like you are right.
Richard wrote:
still confused by after running this program.
1)when I do #print while ; program only outputs
--> truly done
Let's comment out "fibonacci", first. Then, m
wanted to draw a box that's counting up for certain time.
Thought I could use the counter but it just displays the box not the
number..
can anyone point it out for me?
thank you.
use warnings;
use strict;
sub counter {
my $count;
my $counting = <| Counting...
Richard wrote:
wanted to draw a box that's counting up for certain time.
Thought I could use the counter but it just displays the box not the
number..
can anyone point it out for me?
thank you.
use warnings;
use strict;
sub counter {
my $count;
my $counting = <|
Chas. Owens wrote:
On Sat, Dec 13, 2008 at 21:13, Richard wrote:
wanted to draw a box that's counting up for certain time.
Thought I could use the counter but it just displays the box not the
number..
can anyone point it out for me?
thank you.
use warnings;
use strict;
sub counter
John W. Krahn wrote:
Richard wrote:
wanted to draw a box that's counting up for certain time.
Thought I could use the counter but it just displays the box not the
number..
can anyone point it out for me?
thank you.
use warnings;
use strict;
sub counter {
my $count;
my $cou
John W. Krahn wrote:
Richard wrote:
John W. Krahn wrote:
You want something more like this:
sub counter {
my $count;
my $clear = `clear`;
my $counting = <<'EOF';
%s
|
John W. Krahn wrote:
Richard wrote:
John W. Krahn wrote:
You want something more like this:
sub counter {
my $count;
my $clear = `clear`;
my $counting = <<'EOF';
%s
|
David Schmidt wrote:
You might want to look into fork
http://perldoc.perl.org/functions/fork.html
http://www.tutorialspoint.com/perl/perl_fork.htm
thank you..
I was experimenting w/ forks but I definitely need to understand forking
better.
thanks!!
--
To unsubscribe, e-mail: beginners-
what's wrong w/ this ?
I used (dot) . to indicate the maximum length of each element in the
print but last one does not print out in alinged format..
What am i missing?
use warnings;
use strict;
my $yabal = 'truncated';
my $never = 'sai';
my $noway = 'han1';
my %never = qw(hi how are you toda
Richard wrote:
what's wrong w/ this ?
I used (dot) . to indicate the maximum length of each element in the
print but last one does not print out in alinged format..
What am i missing?
use warnings;
use strict;
my $yabal = 'truncated';
my $never = 'sai';
my $noway = &
Running (K)ubuntu Linux, what would be the best programmers editor for Perl
looking for a IDE or RAD developers environment or a super text editor with
highlighting.
-Rich
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/
On Saturday 03 November 2007 11:30:33 pm yitzle wrote:
> I've been meaning to learn VIM for a while, but I've done almost all
> my Perl writing with nano
but in nano you don't have syntax highlightning ?
Rich
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL P
7D
---
key: 1
value: 0C8CB35F
key: 2
value: 0C9CB37D
---
key: 1
value: 0C8CB35F
key: 2
value: 0C9CB37D
--
regards, Richard
--
tmqrich...@gmail.com
the value "2"?
I was so preoccupied with values() and keys(), thinking of them as being
mirror-images of one another, that I forgot what a 'value' and a 'key'
were.
Thanks again
regards, Richard
--
tmqrich...@gmail.com
On Sat, Jun 15, 2013 at 2:19 PM, Octavian Ra
Thanks. I looked at this site while searching for solutions but I probably
skipped the section on sorting because I wasn't sorting the hash.
regards, Richard
--
tmqrich...@gmail.com
On Sun, Jun 16, 2013 at 3:17 AM, Peter Gordon wrote:
> On Sat, 15 Jun 2013 12:12:56 -0400, richard wrot
0 305
index04 1 4442 4386
0 027
index05 1 1318973
0 0 149
__END__
Resulting output is:
$ ./process_tabinfo_V01_dos.pl
table01/npdata: 1653131
table02/npused: 12513173
Thank you for
ng out an element from
a hash.
[ ... AoH approach snipped ... ]>
> # To get the 'big picture':
> use Data::Dumper;
> print Dumper [EMAIL PROTECTED];
Thank you for pointing me to Data::Dumper!
A very valuable hint, indeed.
dic_k
--
Richard Kofler
SOLID STATE EDV
Diens
; last if $. > 10;
> }
> \%tih;
> }
>
> TMTOWTDI :)
>
> --
> Gunnar Hjalmarsson
> Email: http://www.gunnar.cc/cgi-bin/contact.pl
Thank you for the refactoring. Seems it is time for me to
get rid of my FORTRAN II habits :)
dic_k
--
Richard Kofler
SOLI
split;
^^^
I love this part! Looks like magic to me :-)
Indeed, this is a fascinating functionality of Perl!
I found it reading up about hash slices and array slices,
see the commented lines labelled xmpl in my original posting
dic_k
--
Richard Kofler
SOLID S
How do I reinitialize/reconfigure my PERL installation (v5.8)? I fear my
initial configuration is flawed as I cannot install modules or upgrade
Bundle::CPAN ... keep getting errors related to ncftp, etc.
Thank you.
__ NOD32 1.928 (20041119) Information __
This message was chec
Yes, and perhaps not quite is the answer, as you can run into some
configuration etc. issues, and of course not quite the same, but can
certainly work fine, have been using it for quite a while.
On Sat, 2004-12-11 at 05:53, Mandar Rahurkar wrote:
> Hello,
> Has anyone used perl on windows
'stu'=>5, 'sdfd'=>6);
and then
$myhash{ 'pqr') wiil return 4.
- Richard
Mallik wrote:
I need to find the index of a particular element in array.
For eg.,
@arr = ('abc', 'xyz', 'mno','pqr','stu','sdfd')
o solve
a given problem, where N is the number of Perl programmers in the room.
The really bad thing about Perl is that there's usually N ways to solve
a given problem, where N is the number of Perl programmers in the room.
(:-)
- Richard
Rob Napier wrote:
In terms of time efficiency, if
Greetings all,
How do I go about removing my email address from this
list?
Thanks,
Richard
__
Do you Yahoo!?
Yahoo! Mail - now with 250MB free storage. Learn more.
http://info.mail.yahoo.com/mail_250
--
To unsubscribe, e-mail: [EMAIL
nty-nos.cgi 89 1 -w
>Perl cnty-nos.cgi 89, 1
am I needing the -w before the arguments and are commas used in the line
Richard Thompson
Application Programmer/Analyst
Kansas Dept. of Transportation
Bureau of Computer Services
Internet/Intranet Support
Phone: (785)-296-8647
FAX: 785-296-6222
Email:
ng the overloaded function.
Even if I allow Perl to magically make the += happen for me it still does
the same (wrong) thing.
Am I going mad?
Richard
ng to find where this
happens. Any other clues?
regards,
Richard
At 10:47 3/06/2001 -0400, Jeff Pinyan wrote:
>Are you doing that via:
>
> fallback => 1
>
>in the argument list to 'use overload'? That's how the implicit
>definitions of operators work. It works for me:
r methods return when
using assignment operators.
Duh!
Thanks for your help.
Richard
At 10:47 3/06/2001 -0400, Jeff Pinyan wrote:
>Are you doing that via:
>
> fallback => 1
>
>in the argument list to 'use overload'? That's how the implicit
>definitions of
My favorite text editor is notetab (www.notetab.com) and you happen to be
able to run perl from it.
I know it is not free but my favorite integrated tool is OptiPerl.
www.xarka.com. Good value for $US59.
I use this with ActiveState Perl and an NT Apache build.
Regards,
Richard
At 22:05
Since someone raised the general question of differences, which is faster?
Randal's suggestion:
my @result = <*.jpg>;
or variations on:
@files = grep /jpg/i, readdir DIR;
regards,
Richard
Thanks folks, this is ANOTHER module I'm going to start using.
I have to say that this is a lot more fun than counting clock cycles, which
was the last bench-marking I did a long, long time ago...
regards,
Richard
At 19:53 7/06/2001 -0700, Peter Cornelius wrote:
>Looking at t
I have unsubscribed to all your supposed E-mail
subscriptions. You you PLEASE pass the word to your
subscribers to stop sending e-mail to me concerning
Perl. Your subscribers are flooding me e-mail
90+ e-mail a day. I original subscribed to your server
to get some insight into using Perl. I am ve
The proper address to find these at would be
http://www.crystalflame.net/yapc/ -
I'd prefer not linking to the files directly as this prevents people
from seeing the other talks and the mirrors that may be available.
As a side effect of this, the URL in Chas' message is now a 404; the
correct URL
Slw!
Download ActiveState Perl and use OptiPerl www.xarka.com.
It is faster, cheaper and has all the debugging stuff built in.
regards,
Richard
At 12:47 22/06/2001 +0200, Aaron Craig wrote:
>Has anyone tried the Komodo development environment from
>ActiveState? Must yo
There's a FAQ that deals with coding a "tail -f" if you're logfile is on the
same box as the perl script.
But what if you want to use rsh to tail a file remotely?
Here's what I have:
--8<---8<---
#!/u
I just had a situation where I needed to replace one string with another
string in 200 files.
This is what I came up with, but I know there has to be a better way. Below
is my code.
"myfiles" contains a list of the files I need to scrub, one per line.
---8<-8<-
I have a box that's running perl version 5.005_03 and I'ld like to upgrade
to the latest version.
What's the best way to accomplish this and maintain access to my currently
installed modules?
I'm doing this on a SUN box. Also, this particular box is behind a firewall
and doesn't have internet con
inks to point to the old
modules?
Or is there more to it than that?
Thanks again!
-Original Message-
From: Richard Fernandez [mailto:[EMAIL PROTECTED]]
Sent: Thursday, February 13, 2003 10:26 AM
To: [EMAIL PROTECTED]
Subject: upgrading perl
I have a box that's running perl version
We have a manual process in place to create Excel worksheets that contain
bar charts. I'm trying to automate this process using perl. The problem is
that I don't know how to access the underlying formulas, in Excel, that
generate the charts. Our current process is as follows:
1) Generate a space s
-
David Olbersen
iGuard Engineer
11415 West Bernardo Court
San Diego, CA 92127
1-858-676-2277 x2152
> -Original Message-----
> From: Richard Fernandez [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, March 12, 2003 7:55 AM
> To: [EMAIL PROTECTED]
> Subject: Excel spreadsheet: c
asMinorGridlines} = 0;
$Graph->Axes(xlSeries)->{HasMajorGridlines} = 1;
$Graph->Axes(xlSeries)->{HasMinorGridlines} = 0;
$Graph->Axes(xlValue)->{HasMajorGridlines} = 1;
$Graph->Axes(xlValue)->{HasMinorGridlines} = 0;
$Graph->Axes(xlValue)->{WallsAndGridlines2D} = 0;
$Graph->
Hi,
In Postgres, all non-quoted identifiers are converted to lower-case, unless they
are quoted.
e.g. SELECT * FROM MY_DATA_0;
Error: my_date_0 does not exist
try SELECT * FROM "MY_DATA_0";
or probably better, in future, use lowercase names, e.g. SELECT * FROM my_data_0;
Rich.
-Origin
Some help understanding this program would be greatly
appreciated! I'm really struggling with this perl
language!
Thanks,
siegfried
my $x= {'d' => 'y', 'f' => 'g'},
$y = ['a', 'b', 'c', 'd'];
# This works! Good!
foreach my $i (@{$y}){ print "array i = $i\n" }
# (1) Why does
mmand
--
Richard Müller - Am Spring 9 - D-58802 Balve
[EMAIL PROTECTED] - www.oeko-sorpe.de
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Thank you very much James and David! Wow! What prompt
responses!
I have some more questions!
I tried "use strict;" and that worked. Are you
encouraging me to use "use warn;" too? That does not
work.
> > # $i receives the proper values
> > foreach my $i (keys %{$x}) {
> > # (4) Why does not thi
Sorry James, you got a second copy. I meant to reply
to the group.
James,
thank you, thank you!
Can you explain this syntax then, that is used with
foreach loops?
foreach my $i (keys %{$x}) { ... }
Why don't we use foreach my $i (keys $$x){... }?
> > What is the name for this syntax: "(keys
James,
I hope this is my last question. I appreciate your
(and everyone else's that has contributed)
generousity.
I have a web site I inherited where a single page has
3000 lines of perl code. It does not use strict or
warnings. The original authors only used global
variables and never used any f
Thanks James, I think I understand now!
Here is another topic:
What is happening to my second argument here? It is
not being passed!
use CGI qw(:standard);
$q = new CGI;
sub print_args {
my ($a, $b, $c) = @_;
print "a = $a b = $b c=$c\n";
}
&print_args("abc", $q->param('next'), "xyz");
# Ho
I'll try your suggestion of using scalar a
little later...
Siegfried
--- James Edward Gray II <[EMAIL PROTECTED]>
wrote:
> On Saturday, May 31, 2003, at 05:01 PM, Richard
> Heintze wrote:
>
> > Thanks James, I think I understand now!
>
> Glad to h
I apologize if I'm posting this twice. I assume that
it did not go out to the group because I did not get
any responses and the folks at [EMAIL PROTECTED] have
been extremely helpful in the past.
Can somone help me make my sample program work below?
(1) I cannot call function hello from main.pl. W
Presently I'm using an integer to implemement an array
of booleans.
I suspect this won't work beyond 32 array elements. Is
there a better way to accommodate longer bit arrays?
Could I use a string, for example, to store an array
of bits? Can I just use the bit manipulation operators
(^= &= |=) on
Why does this program print "yes def" but not "yes
xyz"? It does print "xyz:def", so I don't understand
why it does not print "yes xyz".
{
my %x = ( xyx => 'abc', d => 'y', f => 'g' );
$x{"def"} = "fhi";
print qq($_ : ).$x{$_}.qq(\n) foreach (keys %x);
foreach (keys %x) { print "yes xyz
My program is terminating for no reason apparent to
me!
Using the debugger I see that $$curr_true is a 4
element array whose values are , 1, 4, 7.
$ev_count is 1.
Why would both my debugging session suddenly and my
cgi script end when I execute that last statement?
Thanks,
Siegfried
sub F
The following fragment of code retrieves an integer
from an array that is passed by reference. It was
working fine:
my $t = @$curr_true[$ev_count];
I made some changes else where in the program (from
which this fragment comes) and suddely both the web
server and (thank goodness) the debu
Hi,
I'm trying to read in a password from the command prompt, but want to either
mask the typed characters with the '*' character, or 'disconnect' the input
from the screen so the characters don't appear at all, but the input is
still captured.
The systems I'm using are Win32, and I'd rather not
Good Evening,
Wondering what list I should send a question to regarding CPAN modules, in
particular, the intitial config file.
Ignore the rest of this lengthy diatribe if this is not the correct list.
:)
When I loaded my first module, actually a bundle, I used:
perl -MCPAN -e 'install "Bundl
How can I simply remove all elements in an array, given that the array
is global and a procedure defines the elements to where the total
number of elements in this array could be very well be less.
I have tried @array = (); but this seems to affect the arrary in that
it wont take any element assi
I have an array of hashes. What function should I be
using to interrogate each array cell when I want to
know if it is occupied?
"exists" seemed to do the job nicely. What about
"defined"?
Now I am curious: how would I implement a switch
statement (er, I mean, set of if-elsif statements) for
a
Speaking of documentaiton, is there any structured
approach to documenting the get/post parameters for a
perl web page?
I have a main menu type of of page I have inherited.
The GUI designer is not a programmer seems to have a
strong preference buttons instead of links or drop
down menus.
Each pus
I'm passing a singularly dimensioned array to a
function. I need to clear the array in the function so
that when I return to the main program, there are no
entries in the array variable I passed to the
function.
Can someone write a small function that does this?
Thanks,
Sieg
__
Is there a DBD for SQL Server so that I can connect to our SQL Server
2000 database with DBI? I've hunted all over CPAN but I can't seem to
find one.
--
Richard S. Crawford
Programmer III,
UC Davis Extension Distance Learning Group (http://unexdlc.ucdavis.edu)
(916)327-7793 / [EMAIL
NYIMI Jose (BMB) wrote:
-Original Message-
From: Alok Bhatt [mailto:[EMAIL PROTECTED]
Sent: Wednesday, May 12, 2004 11:49 AM
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: Re: DBD for SQL Server?
--- Richard Crawford <[EMAIL PROTECTED]>
wrote:
Is there a DBD for SQL Server s
nd the CPAN configuration is pointing
to the gcc installation, so I'm not sure what the problem might be.
--
Richard S. Crawford
Programmer III,
UC Davis Extension Distance Learning Group (http://unexdlc.ucdavis.edu)
(916)327-7793 / [EMAIL PROTECTED]
--
To unsubscribe, e-mail: [EMAIL PROTECT
Simple question for those who know ...
I want to extract 2 or 3 lines of text from an incoming email, process
it and insert it into an outgoing email. Anyone got something similar
I use linux mail servers.
Thanks in advance.
R
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional
find a match, you'll have to check:
if ( $elem = $prod->find_by_tag_name('run-time') ) {
$tpm[11] = $elem->as_text;
}
EasyTree or another package may give you a nicer way of doing this that
lots of conditionals in your code.
Richard
--
To unsubscribe, e-mail: [EMAIL PROTE
Is this an appropriate place to post questions on
Win32::ODBC/MSAccess 2000/Perl 5.6 cgi/Apache HTTPD?
If not, can someone directe me to an appropriate FAQ
or mailinglist or newsgroup?
I've been struggling with specifying zero length
strings in SQL. Nothing seems to work.
I've tried
$Data->Sql
I want to start using cookies to store user session information and build associated
privileges on
web pages. I'm starting as a complete novice in this field, has anyone else got off to
a flyer using
a book or web-site they can recommend? Any hints gratefully received, thanks,
Ri
On occasion someone sends out a mail message with MIME attachment that we want
to delete from the recipient's spool file. This happens on a Solaris box, so I'm
talking about editing /var/mail/, and there are often dozens
of recipients.
What we've been doing is using "mutt -f" to open each individ
On Fri, Oct 03, 2003 at 09:24:01PM -0400, TN wrote:
> Based on your delete criteria, it would be much easier to filter out
> unwanted mail messages on an incoming relay mailer in your DMZ. You
> could do other things there such as filtering out mail with MIME
> attachments beyond a certain size li
On Mon, Oct 06, 2003 at 07:52:31PM -0500, Wiggins d'Anconia wrote:
> Richard Fernandez wrote:
> > On Fri, Oct 03, 2003 at 09:24:01PM -0400, TN wrote:
> >
> >>Based on your delete criteria, it would be much easier to filter out
> >>unwanted mail messages o
I had emailed this query out previously but since I
never saw my own email in the digest, I'm assuming
that it never made it to the [EMAIL PROTECTED] list.
Please forgive me if it did and I did not see it (my
SPAM filter might have eaten it).
Question #1
---
I have an array stored in an o
emacs and a number of other editors have the ability,
with a single key stroke to properly indent java code.
However, since perl has such unusual syntax for
specifying literal character strings (my favorite is
qq[]) emacs chokes when it attempts to indent my perl
code. Too bad -- I love emacs.
Is
o more
> expensive than many of the other alternatives. Have
> you tried vim?
>
> -Original Message-
> From: Richard Heintze
> [mailto:[EMAIL PROTECTED]
> Sent: Monday, November 03, 2003 11:28 AM
> To: [EMAIL PROTECTED]
> Subject: Where is editor that will Inde
I'm running perl 5.6.1 on Apache HTTPD V2.
I noticed some values were not appearing on the web
page.
After several hours I tracked it down to these line of
code. The concantenation is failing suddenly!
my $hidden="";
&FormElements(\$hidden...);
sub FormElements{
my $hidden = @_;
my $t1 = qq
Jenda,
Sorry -- I was not quoting my own code precisely and
I am using strict and warnings.
I am using parenthesis. I attached the exact code
for the subroutine below.
--- Jenda Krynicky <[EMAIL PROTECTED]> wrote:
> From: Richard Heintze <[EMAIL PROTECTED]>
> > After se
I have just discovered the the following code causes
trouble when I have "use strict" and "use warn";
use strict;
use warnings;
my $k = $q->param('xyz');
print qq[ \$k = $k ];
The problem is that if there is no GET/POST param
called xyz, we are concatenating with a null value
and, when using CGI
> I think what you want is this:
>
> no warnings qw(uninitialized);
>
Would I put this immediately after "use warnings;"?
__
Do you Yahoo!?
Protect your identity with Yahoo! Mail AddressGuard
http://antispam.yahoo.com/whatsnewfree
--
To unsubscribe, e-mail: [EM
appreciated.
Richard
On Friday, December 19, 2003, at 11:24 AM, William Martell wrote:
I need to extract the data that is under the column headers. I have
attached a sample of the printed report. The real report repeats the
same
format over and over again until completion.
I would like to extract the data and plac
IL PROTECTED]
> > > For additional commands, e-mail: [EMAIL PROTECTED]
> > >
> > >
> >
> >
> > --
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
>
> --
> To unsubscri
Hi Jess,
Tied variables might work, but I was also browsing CPAN this afternoon, and
I noticed that there is a whole SAS module under "Commercial Software". I
have no idea what it does, but you might find it interesting to look at.
Thanx,
Smiddy
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
=$?;
&logmesg("$telreturn","Urgent telalertd process (on $host) indicates the
process is down");
##2) check other ars process
if (telreturn != 1) {
}
elsif (telreturn == 1)
{
Thanks,
Richard
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For add
> $newsocket[$i] = IO::Socket::INET->new("$address") or die $@;
How are you declaring "newsocket"? I would probably decare it as "local" rather than
as "my".
Worth a try anyway. Unfortunately I can't try it here.
Thanks,
Smiddy
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional
Hi Jenda,
I have had problems using "my" when refering to File Handles, especially
when I wish to pass them to subroutines. I have also had problems
declaring them with $ or @, and have been
forced to use:
local *logHandle;
Is this because I am declaring the actual filehandle, and not a refer
Try the fields module. This sounds like an ideal place to use a pseudo-hash
Thanx,
Smiddy
..
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Hi Folks,
This got me wondering. Is the behavior you see caused by limitations for $_, or by
limitations of the print function? You might try:
print strlen( $_ ), "\n";
Thanks,
Smiddy
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
My Perl doesn't know what strlen is. Is it part of a module?
Oops. Don't get your perl mixed up with your C, Smiddy.
I meant length($_)
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Good Afternoon,
Wondering if anyone could help me with this or
enlighten me on another way to go about it.
I have a string that has various white space
(tabs, spaces, etc) at the end of it. I want to
find the last real char [0-9a-zA-Z] and then use
chop or chomp to remove the whitespace.
I've
In *nix, he child process inherits the nice value of the parent process,
and, unless the process owner is the super-user, the child process cannot
be given a higher priority. This would also apply to calls to system() and
backticks, since they all basically use the same mechanism. It also
ap
et a valid
date here)
$msg = new MIME::Lite
From=> $from,
To => $to,
Date=> $date,
etc
Does anybody know the rules regarding the date field and what it
expects.
I cannot find the key info I require on CPAN.
Any info greatly rece
I have this script that checks processes on aix box.
My question is within the subroutine. If the process
is not running the return code is 256. How do prevent
it from sending multiple alerts to a pager? What I
want it do is send 1 page at a time for multiple
events.
Piece of my script:
$tel
1 - 100 of 530 matches
Mail list logo