Harry Putnam rea...@newsguy.com asked:
I see advanced users here using various styles of open().
[three argument open]
Is there something beyond style that makes those methods better than
what appears to be a simpler format:
[two argument open]
Allow me to quote perldoc -f open:
Doug Cacialli doug.cacia...@gmail.com asked:
Does anyone have any ideas how I can make the second block of code
work? Or otherwise accomplish the task without opening the .txt file
twice?
How large are your data files? If your available memory is much larger than
your maximum file size, you
Hi
I am new in perl script. Does anyone know how to implement this puzzle
in perl?
[ 0 ]= 0
[ 1 ]= 1
[ 0, 1 ] = 1
[ 1, 1 ] = 2
[ 1, [ 1, 2 ] ] = -2
[ 1, 2, [ 8 ] ] = -5
[ 1, [ 2
Hi all,
We currently have OEM installed but will have to uninstall it due to
Oracle Licensing issues. Customers do not want to pay
for the performance and diagnostic pack and are actually considering
to move to SQLServer .. :-)
Anyway, am wanting to try out and install oracletool or orcaware.
Hi ubuntu,
On Monday 05 Apr 2010 18:55:39 ubuntu wrote:
Hi
I am new in perl script.
Welcome to Perl! Please see http://perl-begin.org/ for links to beginners'
resources.
Just note that you can do programming as well as scripting in Perl. See:
*
Hi Chen,
newbie01 perl has asked a question about Oracle and Perl 5/DBI. Would you be
able to enlighten them? (Everyone should note that Chen is an Oracle DBA and a
good friend of mine). Please hit reply all as the @perl.org mailing lists
accept replies from non-subscribers and others may be
I got to know how to solve the puzzle.
We need to find the sum of elements encovered by the outer array.
And once we enter the elemnets, whenever we find an element enclosed by [x]
we shoudl take that as -x for the summation.
For example:
[ 9, [ 3, 4, [ [ 2 ] ] ] ] = 0
In this case we need
On Tue, Apr 6, 2010 at 2:06 PM, Shlomi Fish shlo...@iglu.org.il wrote:
Hi Chen,
newbie01 perl has asked a question about Oracle and Perl 5/DBI. Would you
be
able to enlighten them? (Everyone should note that Chen is an Oracle DBA
and a
good friend of mine). Please hit reply all as the
On Apr 1, 2:59 am, alexey.sal...@gmail.com (Alexey Salmin) wrote:
On Thu, Apr 1, 2010 at 6:41 AM, Doug Cacialli doug.cacia...@gmail.com wrote:
This reflects some of the changes suggested by Owen and as can be
seen, I am using strict and warnings, as suggested by others. Again,
this works
John W. Krahn wrote:
Dr.Ruud:
Akhthar Parvez K:
Didn't know that Perl only deals with decimal numbers.
Wherever did you get that idea?
I think I might have mentioned that. :-)
I see that you mentioned That is because perl only deals with decimal
numbers.. Out of context that looks
Harry Putnam wrote:
Is there something beyond style that makes those methods better than
what appears to be a simpler format
Yes. The greatest issue is code injection. This is especially true for
the abbreviated form of the two argument open:
open my $fh, $file or die could not open
Thomas Bätzler t.baetz...@bringe.com writes:
[...]
I hope this answers your question ;-)
Cheers,
Thomas
Thanks for the effort, but I'm still a bit confused. Just need to
think it over some more maybe. Is it fair to say that the `magic'
open is far and away the most common working case?
I have a test harness set up with a series of Selenium test scripts.
Each script tests a specific scenario on my web site. But I have some
scenarios that I want to test multiple times with different data entered
each time. Currently I am using environment parameters to pass the test
data into each
[This message was inadvertently originally posted in a totally
inappropriate group, so reposted here where it was supposed to have
gone]
Sorry that this is something of a ramble.
I've been using perl for several yrs, only home scripting on local lan
and whatever random notions of a program I
On 6 April 2010 16:48, Harry Putnam rea...@newsguy.com wrote:
Thanks for the effort, but I'm still a bit confused. Just need to
think it over some more maybe. Is it fair to say that the `magic'
open is far and away the most common working case? And that the 3 arg
open is for unusual
On Tue, Apr 6, 2010 at 5:56 PM, Harry Putnam rea...@newsguy.com wrote:
[This message was inadvertently originally posted in a totally
inappropriate group, so reposted here where it was supposed to have
gone]
Sorry that this is something of a ramble.
I've been using perl for several yrs,
On 6 April 2010 16:52, Bob McConnell r...@cbord.com wrote:
I have a test harness set up with a series of Selenium test scripts.
Each script tests a specific scenario on my web site. But I have some
scenarios that I want to test multiple times with different data entered
each time. Currently I
On 6 April 2010 17:21, Rob Coops rco...@gmail.com wrote:
On Tue, Apr 6, 2010 at 5:56 PM, Harry Putnam rea...@newsguy.com wrote:
This doesn't actually have to be a paying job... I'm retired and do
have an income. But it would need to be a situation where I was
expected to produce something on
On Tue, Apr 6, 2010 at 11:48 AM, Harry Putnam rea...@newsguy.com wrote:
Shawn H Corey shawnhco...@gmail.com writes:
Yes. The greatest issue is code injection. This is especially true
for the abbreviated form of the two argument open:
open my $fh, $file or die could not open $file: $!\n;
On Tue, Apr 6, 2010 at 11:52 AM, Bob McConnell r...@cbord.com wrote:
Is there a cleaner way to pass those variables into each test script?
I'm unfamiliar with testing practices in Perl, but I would imagine
that almost anything would be better than using environment variables
to store test 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
22 matches
Mail list logo