Chap Harrison wrote:
> Now I'm writing a suite of tools that will share a lot of the same
> functionality, and the right thing to do is factor that into a single
> source in some way. Something equivalent to #include "foo.c"
You're ready for Intermediate Perl:
http://oreilly.com/catalog/97
-- Forwarded message --
From: Rajini Naidu
Date: Tue, Mar 24, 2009 at 10:12 AM
Subject: Re: Require help in perl
To: "Chas. Owens"
Hi Chas,
Thanks for the reply.
Please find my answers inlined.
> >
> > Context :
> >
> > I am working on displaying load graph for all the da
On Mar 23, 2009, at 10:47 PM, Chas. Owens wrote:
Modules are the way to go. They are not as complex as they seem to
you right now. Here is a simple module:
[snip]
I can't thank you enough for your patience and time putting together
that introduction to modules for me. This helps to demys
On Tue, Mar 24, 2009 at 00:01, Rajini Naidu wrote:
> Hi,
>
> Context :
>
> I am working on displaying load graph for all the days.
>
>
>
> I require a perl module which displays,
>
> all the days of the week and when I click
>
> On the particular day, it should go to the
>
> particular load graph.
Hi,
Context :
I am working on displaying load graph for all the days.
I require a perl module which displays,
all the days of the week and when I click
On the particular day, it should go to the
particular load graph.
Any help is much appreciated.
-Rajini
On Mon, Mar 23, 2009 at 19:41, Chap Harrison wrote:
snip
> I suppose what I want is the "module" (I mean, it just *sounds* right), but
> from what I've read so far, Perl modules seem to be very advanced,
> general-purpose animals - found mainly in CPAN, or in object-oriented
> programming.
snip
M
Thanks for your help,
I installed said package and after that tried to install
Catalyst::Plugin::Upload::Audio::File, the module I actually want (it
depends on Audio::File) and got a very similiar error.
Writing Makefile for Catalyst::Plugin::Upload::Audio::File
cp lib/Catalyst/Plugin/Upload/Audi
Look at the documentation for Use require
Sent from my iPhone
On Mar 23, 2009, at 7:41 PM, Chap Harrison wrote:
Hi,
Until now I've written Perl in a quick-and-dirty fashion - single
monolithic .pl file, cutting and pasting from previous code where
convenient, etc. Often I won't even wri
Hi,
Until now I've written Perl in a quick-and-dirty fashion - single
monolithic .pl file, cutting and pasting from previous code where
convenient, etc. Often I won't even write subroutines. (It's not how
I generally program, but it has filled the bill well for the kinds of
things I've
igotux igotux wrote:
Hi Team,
Can someone explain what is wrong happeneing here ?
$ perl -e 'use Business::ISBN; $isbn_object = new
Business::ISBN('0-59610-206-2');print $isbn->as_string;'
Can't call method "as_string" on an undefined value at -e line 1.
$
John pointed out one mistake. The ot
On Mon, Mar 23, 2009 at 09:53, igotux igotux wrote:
> Hi Team,
>
> Can someone explain what is wrong happeneing here ?
>
> $ perl -e 'use Business::ISBN; $isbn_object = new
> Business::ISBN('0-59610-206-2');print $isbn->as_string;'
> Can't call method "as_string" on an undefined value at -e line 1
On Mon, Mar 23, 2009 at 14:16, Amit Saxena wrote:
> Is it possible to implement this without using any external modules from
> CPAN ?
>
> Thanks & Regards,
> Amit Saxena
>
The FAQ covers this quite nicely (see below). In general you should
use File::Tail[1]. And on UNIX systems, of course, you
igotux igotux wrote:
Hi Team,
Hello,
Can someone explain what is wrong happeneing here ?
$ perl -e 'use Business::ISBN; $isbn_object = new
Business::ISBN('0-59610-206-2');print $isbn->as_string;'
Can't call method "as_string" on an undefined value at -e line 1.
Change:
print $isbn->as_str
On Mon, Mar 23, 2009 at 9:53 AM, igotux igotux wrote:
> Hi Team,
>
> Can someone explain what is wrong happeneing here ?
>
> $ perl -e 'use Business::ISBN; $isbn_object = new
> Business::ISBN('0-59610-206-2');print $isbn->as_string;'
> Can't call method "as_string" on an undefined value at -e line
Hi Team,
Can someone explain what is wrong happeneing here ?
$ perl -e 'use Business::ISBN; $isbn_object = new
Business::ISBN('0-59610-206-2');print $isbn->as_string;'
Can't call method "as_string" on an undefined value at -e line 1.
$
Thanks,
Tux
> "Amit" == Amit Saxena writes:
Amit> Is it possible to implement this without using any external modules from
Amit> CPAN ?
Is it possible? Yes. Reasonable? No.
Please state clearly your confusion about being able to include CPAN modules
in your workflow. Hint: none of the reasons you come
> On Sun, Mar 22, 2009 at 8:56 PM, Owen wrote:
>>> Hello
>>>
>>> I repeatedly run into problems when installing modules and I havent
>>> yet figured out a way to consistently resolve them.
>>>
>>> I want to install Audio::File but the tests fail
>>>
>>> Any help is greatly appreciated.
>>>
>>> dav
Original-Nachricht
> Datum: Mon, 16 Mar 2009 12:41:01 -0400
> Von: "Chas. Owens"
> An: Jim Gibson
> CC: beginners@perl.org
> Betreff: Re: Error: Can\'t call method "x" without a package or object
> reference...
> On Mon, Mar 16, 2009 at 12:23, Jim Gibson wrote:
> snip
On Sun, Mar 22, 2009 at 8:56 PM, Owen wrote:
>> Hello
>>
>> I repeatedly run into problems when installing modules and I havent
>> yet figured out a way to consistently resolve them.
>>
>> I want to install Audio::File but the tests fail
>>
>> Any help is greatly appreciated.
>>
>> david
>>
>> Run
Is it possible to implement this without using any external modules from
CPAN ?
Thanks & Regards,
Amit Saxena
20 matches
Mail list logo