Thanks Chris.
I was wondering what is the recommended approach to create "Graphs/Charts". By Dynamic, I wanted to option to showcase based on different options i.e Bar, Pie, Line...etc
Thanks Chris.
I was wondering what is the recommended approach to create "Graphs/Charts". By Dynamic, I wanted to option to showcase based on different options i.e Bar, Pie, Line...etc
I have not coded for while, so pardon the rustiness.
I have two sets of values being pulled from a DB.
1 cat1
2 cat1
3 cat2
4 cat3
5 cat3
6 cat1
7 cat1
What I need to do is key off of 2nd filed and associate all values fron field 1. The number of values when reach a pre-defined limit should...
print $CON first to see if it's really being passed. This applies to any sub you have.
restart_con()
{
# below echo's the variable passed in successfully
echo $CON
#cd /nfs/informatica_pwx/logs/$CON/condenser/
#rm -rf nohup.out
#nohup pwxccl cs=pwxccl_$CON.cfg...
Why chop vs chomp?
$dateStamp = `/bin/date +"%w%a"`; chop ($dateStamp);
You can explore the following two options of Net::Ftp to get some ideas
Timeout - Set a timeout value (defaults to 120)
Debug - debug level (see the debug method in Net::Cmd)
add some debug commands.
Is DBI:SQLite part of DBI or do you have to instantiate it other than use DBI?
use warnings;
Do you have any special characters in "$pass"?
$dbh=DBI->connect($dsn, $user, $pass) or die "print $!\";
Not really clear on your objective, so a shot in the dark
$pathToMemDisp = "/where/is/it";
chomp "$line";
print "$line";
$command = `$pathToMemDisp/mem_disp \"$line 80\"`;
CPAN: http://www.cpan.org/, You can download perl modules from here. I don't remember if Getopt::Long is a core module that comes with Perl. If not you can download and install it via CPAN.
You don't need the module to do what you have to do, but it will make it easier.
You can use several modules from CPAN and get this going. Not going to be easy if you have never worked w/ Perl before.
use Getopt::Long;
GetOptions("optionName1"=>\$pointerToOptionName1,
"optionName2"=>\$pointerToOptionName2,
);
if ($pointerToOptionName1) {
....
}
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.