Hi Shawn,
first of all I should note that I suspect that you have been under some
stress, and you're taking it on me. It's quite unlike you. Is this indeed the
case?
Now I'll reply to what you say.
On Tuesday 13 Apr 2010 16:07:26 Shawn H Corey wrote:
> Shlomi Fish wrote:
> > Which arguments do
On 2010.04.16 11:32, Philip Potter wrote:
> On 16 April 2010 14:38, Steve Bertrand wrote:
>> This particular test:
> It sounds like your test isn't a test, it's a setup tool. Tests in
> projdir/t are there to test if the stuff in projdir/lib or
> projdir/blib works, and shouldn't be dependent on
On 16 April 2010 14:38, Steve Bertrand wrote:
> On 2010.04.16 09:15, Philip Potter wrote:
>> What are you *actually*
>> trying to do? What are you testing and why does this test require you
>> to print output to the user under "make test"?
>
> This particular test:
>
> - checks to see if an existi
On 2010.04.16 09:15, Philip Potter wrote:
> On 16 April 2010 13:20, Steve Bertrand wrote:
>> I use prove often, usually when I want to quickly and non-verbosely (-Q)
>> work with a single test file that I'm currently adding new tests to, or
>> to ensure existing tests still pass if making changes
> - Original Message -
> From: Brad Baxter
> Sent: 04/16/10 01:31 AM
> To: beginners@perl.org
> Subject: Re: XML Parser Error
>
On 4/15/2010 1:40 PM, Open Source wrote:
> I'm getting this error:
>
> Undefined subroutine&XML::Simple::XMLin called at ./sample.pl line 3.
>
> Here's my code an
On 16 April 2010 13:20, Steve Bertrand wrote:
> I use prove often, usually when I want to quickly and non-verbosely (-Q)
> work with a single test file that I'm currently adding new tests to, or
> to ensure existing tests still pass if making changes to a function.
>
> What I want to be able to do
On 2010.04.16 03:36, Philip Potter wrote:
> On 16 April 2010 02:05, Steve Bertrand wrote:
>> On 2010.04.15 18:50, Steve Bertrand wrote:
>> What I've done to 'rectify' the issue so that it is clear that the
>> config files differ, is rename the test to the highest test number
>> (999-upgrade.t) so
On Apr 15, 8:57 am, linuxexper...@gmail.com (Linux Expert) wrote:
> I'm following an example in "Mastering Perl" pg 130. He demonstrates
> setting package variables $m and $n and displays their contents as well as
> their keys held in the symbol table. He then proceeds to delete the symbol
> tabl
On 4/15/2010 1:40 PM, Open Source wrote:
I'm getting this error:
Undefined subroutine&XML::Simple::XMLin called at ./sample.pl line 3.
Here's my code and input file:
use XML::Simple;
use Data::Dumper;
$data = XMLin("sample.xml");
print Dumper($data);
John
43
M
Operations
There mu
>-Original Message-
>From: Open Source [mailto:open.sou...@gmx.com]
>Sent: Thursday, April 15, 2010 11:41
>To: Beginners, Perl
>Subject: XML Parser Error
>
>I'm getting this error:
>
>Undefined subroutine &XML::Simple::XMLin called at ./sample.pl line 3.
>
>Here's my code and input file:
>
On Fri, 2010-04-16 at 12:51 +0300, Shlomi Fish wrote:
> Hi Tim,
>
> On Friday 16 Apr 2010 12:06:31 Tim Bowden wrote:
> > I've got a nested hash data structure, and I want to create tests for
> > many of the attributes within that data structure, but I'm not sure of
> > the best way to do that.
> >
Hi Tim,
On Friday 16 Apr 2010 12:06:31 Tim Bowden wrote:
> I've got a nested hash data structure, and I want to create tests for
> many of the attributes within that data structure, but I'm not sure of
> the best way to do that.
>
> Example:
>
> my $dataStructure = {'GroupA'=>{
> 'element1'=
On Fri, 2010-04-16 at 08:40 +0100, Philip Potter wrote:
>
> Great post, Steve. Does perl-beginners have a website where this could
> be archived for later reference?
>
> Phil
>
http://www.nntp.perl.org/group/perl.beginners/
Tim Bowden
--
To unsubscribe, e-mail: beginners-unsubscr...@perl.or
I've got a nested hash data structure, and I want to create tests for
many of the attributes within that data structure, but I'm not sure of
the best way to do that.
Example:
my $dataStructure = {'GroupA'=>{
'element1'=>{
'attrib1'=>'someValue', 'attrib2'=>'otherValue'},
'element2
On 16 April 2010 03:17, Steve Bertrand wrote:
> On 2010.04.15 03:37, raphael() wrote:
>> But as a beginning Perl programmer I find references extremely complicated.
>> Although I have to learn them sometime.
>
> Although I Am Not A Programmer, if you do actually desire spending time
> on writing P
On 16 April 2010 02:05, Steve Bertrand wrote:
> On 2010.04.15 18:50, Steve Bertrand wrote:
>> Hi all,
>>
>> In one of my projects, I've written a test file t/22-upgrade.t.
>
> [..snip..]
>
>> However, when I run "make test", the Perl code for print does not execute.
>
> Replying my own post, this
16 matches
Mail list logo