I have and object with a function called new. (seen below). What I want to do
is instead of simply calling die I want to know who called new without the
required params. (like a stacktrace) I've tried confess, longmess, and caller
and they did not produce the caller of new.
#!/usr/bin/perl
In the following regex what is the t character doing?
$linebuf =~ tr/\n/:/;
--
Ron
**
This e-mail is intended solely for the intended recipient or recipients. If
this e-mail is addressed to you in error or you
I'm looking at documenting perl code I'm working on. I'm considering POD but I
don't
think it can do what I want. Example of what I would like...
[code]
# here I would put POD synopsis etc.
# here I want to put POD that describes this function
sub my_echo
{
my ($str)
Because this uses *my* environment when I run *your* Perl script.
That's broken.
Hardcode the path. Or install it using any of the module tools, which
will replace #!perl with the proper hardcoded local Perl path.
I also view this as a deployment problem which has probably been solved many
Can someone explain how to access $InstDesc?? Also please
explain how I would access (that is read from or write to)
to the $Severity scalar on the bottom structure..
Thanks in advance.. flk
Sure I can help. (or guide you astray)
#!/usr/bin/perl
use strict;
use warnings;
my %PlcyActions