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, 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 somethin
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. Th
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 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, line 1.
which is referring to this line in my script:
my $gd = $graph->plot(\...@array)
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
and voila.
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&quo
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 a
ROTECTED]
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 creati
"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 we
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 "";
for (currentRow = 1; $currentRow <= $rows; $currentRow++) {
for ($currentCol = 0;
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
Just redirect STDOUT to the file using open:
open STDOUT, "> file.htm" or die $!;
opentbl();
close STDOUT;
HTH,
Rob
"Joshua Scott" <[EMAIL PROTECTED]> wrote in message
5D23931127B7EB409640001B7E8A6E32014A2AFA@PASNT32">news:5D23931127B7EB409640001B7E8A6E32014A2AFA@PASNT32.
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 somehow redirect the output to a file
without m
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 t
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, l
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,
16 matches
Mail list logo