Hi!
I did what you told me, but I just gets this error msg in return when I am
trying to execute the script:
Invalid data set: 0 at ./test.pl line 105, FILE line 1.
This error is referring to this line in my script:
my $gd = $graph-plot($ydata) or die $graph-error;
I seems like there is
Hi again,
thank you for trying to help!
I have been looking at the script once again, I could not really get your
suggestion to work, but I have been doing some new changes thought.
With this script I am pasting her, I manage to print the graph to a .png file,
but the histogram does not show.
alekto alekto.antarct...@gmail.com asked:
I manage to generate the array from the input file, but it seems like
there is something wrong with my subroutine at the end, I have been
using the examples at cpan.org as an templat for this subroutine.
Following is the error msg, as well as the
Hi guys!
Tnx for answering! Of course it was the /misplacing of the \ that caused my
error;)
But after changing this error I still get an other error msg like this:
Invalid data set: 1 at ./bars.pl line 90, FILE line 1.
which is referring to this line in my script:
my $gd =
Hi, Thanks for helping!
The ting is that my age file only contain age values like this: 22 22 23 24 26
26 26 26 28 28 30 30, and I have no input for a second array!
I want these age values to be the bars(x-values), and a want the number of
times each of these are represented, to be the y-values.
Hi,
I got this scrip that is suppsed to use the use the Getopt::Std; and
GD::Graph::bars; to input generate an array from a file (age).
With this array, the GD::Graph::bars is going to create a subroutine
printHistogram() which generates a png file based on a supplied array.
The signature of
Hi alekto,
My guess
Main error is due to
my $gd = $graph-plot(/@array) (Line 90) Did u meant \ (bless operator)
instead of / . Same is being repeated in printHistogram(/@array
Also hope last } was for printHistogram subroutine was copy paste problem
while emailing. Other than that this looks
R == R Huber [EMAIL PROTECTED] writes:
R I am writing several subroutines that I want to make
R available to other programs without directly including
R the code in those programs. Can anyone explain how to
R do this or where to go to find out how to do it.
Besides the bits and pieces given
I am writing several subroutines that I want to make
available to other programs without directly including
the code in those programs. Can anyone explain how to
do this or where to go to find out how to do it.
TIA,
rj
__
Do you Yahoo!?
Find out what made the Top
On Sun, 4 Jan 2004, r huber wrote:
I am writing several subroutines that I want to make
available to other programs without directly including
the code in those programs. Can anyone explain how to
do this or where to go to find out how to do it.
Just make a file mylibrary.pl or what ever
. Of course at this level, it doesn't really make THAT much of a
difference...
-Original Message-
From: r huber [mailto:[EMAIL PROTECTED]
Sent: Sun 1/4/2004 6:18 PM
To: [EMAIL PROTECTED]
Cc:
Subject: Making A Library of Perl Subroutines
On Mon, 5 Jan 2004, Owen Cook wrote:
On Sun, 4 Jan 2004, r huber wrote:
I am writing several subroutines that I want to make
available to other programs without directly including
the code in those programs. Can anyone explain how to
do this or where to go to find out how to do it.
On Jan 4, 2004, at 6:18 PM, r huber wrote:
I am writing several subroutines that I want to make
available to other programs without directly including
the code in those programs. Can anyone explain how to
do this or where to go to find out how to do it.
Tim and Owen have offered the quick look
.
Thanks to everyone who posted comments.
Joshua Scott
Security Systems Analyst, CISSP
-Original Message-
From: Jenda Krynicky [mailto:[EMAIL PROTECTED]]
Sent: Friday, January 10, 2003 7:04 AM
To: [EMAIL PROTECTED]
Subject: RE: Perl Subroutines
From: Scott, Joshua [EMAIL PROTECTED]
Let me
Joshua Scott [EMAIL PROTECTED] wrote in message
5D23931127B7EB409640001B7E8A6E32014A2AFA@PASNT32">news:5D23931127B7EB409640001B7E8A6E32014A2AFA@PASNT32...
I've created a group of Perl subroutines to handle the creation and layout
of my web pages. These subs are used when browsing to my
]
Subject: Re: Perl Subroutines
Joshua Scott [EMAIL PROTECTED] wrote in message
5D23931127B7EB409640001B7E8A6E32014A2AFA@PASNT32">news:5D23931127B7EB409640001B7E8A6E32014A2AFA@PASNT32...
I've created a group of Perl subroutines to handle the creation and
layout of my web pages. Th
From: Scott, Joshua [EMAIL PROTECTED]
Let me add a little more info regarding my question. The subroutines
are already setup and can't be modified easily. The basic task of all
the different subs is to print to STDOUT. I'd really like to be able
to call this sub from another script and
I've created a group of Perl subroutines to handle the creation and layout
of my web pages. These subs are used when browsing to my website.
Basically all they do when invoked is print a bunch of HTML. I've now run
into the scenario where I'd like to use these same subs to print static web
pages
@PASNT32...
I've created a group of Perl subroutines to handle the creation and layout
of my web pages. These subs are used when browsing to my website.
Basically all they do when invoked is print a bunch of HTML. I've now run
into the scenario where I'd like to use these same subs to print static
we
Wow, that was really easy! Thank you very much for your help!!
Joshua Scott
Security Systems Analyst, CISSP
626-568-7024
-Original Message-
From: Rob Dixon [mailto:[EMAIL PROTECTED]]
Sent: Thursday, January 09, 2003 5:11 PM
To: [EMAIL PROTECTED]
Subject: Re: Perl Subroutines
Hi
Hi Joshua,
It looks like you will need to add some paramaters and support functions to get
practical use from this sub:
Sub opentbl {
my ($rows, $cols) = @_
my $currentRow, $currentCol;
Print table rows=$rows cols=$cols;
for (currentRow = 1; $currentRow = $rows; $currentRow++) {
From: Bruce Ambraal [EMAIL PROTECTED]
JON MOLIN many thanks to you too..., if that's what you want to hear.
Don't have time for these question need to get myself skilled in Perl
soonest.
I see ... so you don't have enough time to answer a simple
question like Is this a
Hi
How do you do it
Give me two different methods in subroutines, that will:
match together all of its parameters into on large list.
Many thanks to the following people: Brett, Micheal F, Zentara, Stephen H, Edward)
Appreciate all you asistance)
Cheers
Bruce
--
To unsubscribe, e-mail:
is this homework? Your other posts looks very homeworkish...
/jon
Bruce Ambraal wrote:
Hi
How do you do it
Give me two different methods in subroutines, that will:
match together all of its parameters into on large list.
Many thanks to the following people: Brett, Micheal F,
JON MOLIN many thanks to you too..., if that's what you want to hear.
Don't have time for these question need to get myself skilled in Perl soonest.
I surpose the name [EMAIL PROTECTED] is meant for people like me
SUSAN not to worry I am two weeks in the game too, worken on the
above problem,
Hi All,
i'm beginning to programm dialogues with a Qt-designed graphical interface.
In my test program i have designed a calculator, and i wanted him to store
a value when clicking a special button. But it doesn't work.
Can you help me to find my failure?
the source code looks like:
$qApp =
Hi All,
i'm beginning to programm dialogues with a Qt-designed graphical interface.
In my test program i have designed a calculator, and i wanted him to store
a value when clicking a special button. But it doesn't work.
Can you help me to find my failure?
the source code looks like:
$qApp =
27 matches
Mail list logo