Hi Sebastien!
On Thu, 9 Oct 2014 23:16:51 +0200
Sebastien Feugere wrote:
> You can put a simple example in the POD's "SYNOPSYS" section of your module
> as you can find on most of Perl modules (check a random CPAN module to see).
>
> See :
> * http://juerd.nl/site.plp/perlpodtut
> * http://
Hi Alex,
On Thu, 9 Oct 2014 22:52:19 +0200
Alex Becker wrote:
> Hi all!
>
> Similar to my question about the lib folder of a Perl module, I would like
> to knoe where one should put example scripts in a CPAN distribution.
>
> I've seen modules using an eg folder and I'm always tempted to use a
Hm, I was thinking about more sophisticated examples, showing distinct, common
use cases. That is, for example, code which is too lengthy to be included in
the POD. Maybe something that will run out of the box.
I'm looking for a place for code that I consider disturbing when included in
the modu
Thanks,
I will follow those.
Regards
On Fri, Oct 10, 2014 at 3:26 AM, Christopher Brenk <
christopherbr...@googlemail.com> wrote:
> Hi!
>
> I just read a article on perltricks.com about every. It's an application
> written in Perl,which provides a interface to cron.
>
>
> http://perltricks.com/
You can put a simple example in the POD's "SYNOPSYS" section of your module
as you can find on most of Perl modules (check a random CPAN module to see).
See :
* http://juerd.nl/site.plp/perlpodtut
* http://perldoc.perl.org/perlpodstyle.html
~$&bast1
On Thu, Oct 9, 2014 at 10:52 PM, Alex Bec
Hi all!
Similar to my question about the lib folder of a Perl module, I would like
to knoe where one should put example scripts in a CPAN distribution.
I've seen modules using an eg folder and I'm always tempted to use a more
mnemonic version: examples.
Is there a best practice? I know of TIMTOW
On Wed, 8 Oct 2014 21:36:06 +0200
Hans Ginzel wrote:
> I want to use one global hash variable for options or configuration
> variables like verbose, debug. I don't want to pass them to each
> function or to almost each object.
package main;
our %Opts = (
verbose => 0,
debug => 0.
);
# yo
Hi!
I just read a article on perltricks.com about every. It's an application
written in Perl,which provides a interface to cron.
http://perltricks.com/article/55/2013/12/22/Schedule-jobs-like-a-boss-with-every
Maybe you want to use it in your (web-)application.
Mit freundlichen Grüßen,
Christop
On Thu, Oct 9, 2014 at 2:19 AM, Benjamin Fernandis wrote:
> Hi,
Hi!
[ snip ]
> Please suggest me for this.
I suggest you don't try to re-invent cron. Cron works. Cron is a known
quantity. You don't need to re-invent cron.
What you need is a way to let other people edit crontab files, with a
b
On Thu, Oct 09, 2014 at 03:50:02AM +1300, Kent Fredric wrote:
First, what are you trying to acheive.
Global variables are rarely a good idea, as is sharing variables
between files.
So the question is, why are you trying to share a variable between
files using globals?
My suggestion is
Hi Benjamin,
On Thu, 9 Oct 2014 22:11:41 +1300
Benjamin Fernandis wrote:
> Hi Shlomi,
>
> Thanks. I also feel that centos/rhel perl seems brokern in terms of
> dependencies issues and some others.
You're welcome.
Regards,
Shlomi Fish
--
-
Take note at least on rehl, you have to run 'yum install perl perl-core'
to get a full working perl (If I remember right).
--Sam
On 10/09/2014 04:11 AM, Benjamin Fernandis wrote:
Hi Shlomi,
Thanks. I also feel that centos/rhel perl seems brokern in terms of
dependencies issues and some others
Hi,
I develop some scripts which we use with OS crontab to schedule to run
certain scripts. Scripts are for backup , VM on/off etc...
I want to integrate crontab function within perl script to do this.
Like a perl based daemon, which accepts date/time and action from users and
run according to
Hi Shlomi,
Thanks. I also feel that centos/rhel perl seems brokern in terms of
dependencies issues and some others.
Regards
On Thu, Oct 9, 2014 at 9:12 PM, Shlomi Fish wrote:
> Hi Benjamin,
>
> On Sun, 5 Oct 2014 17:39:46 +1300
> Benjamin Fernandis wrote:
>
> > Hi Mike,
> >
> > Thanks for yo
Module-starter is cool. I always use that for my packages management.
First of all, you should not use h2xs, but rather Dist-Zilla or Module-Starter
(https://metacpan.org/release/Module-Starter ).
--
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beg
Hi Alex,
On Wed, 8 Oct 2014 19:59:12 +0200
Alex Becker wrote:
> Hi!
>
> When creating the base for a new CPAN module using h2xs (e.g. with the
> command h2xs -b 5.10 -XA -n Super::Duper::Module), there is a lib folder
> created.
First of all, you should not use h2xs, but rather Dist-Zilla or M
Hi Benjamin,
On Sun, 5 Oct 2014 17:39:46 +1300
Benjamin Fernandis wrote:
> Hi Mike,
>
> Thanks for your kind response. I tried cpanm instead of cpan, but many
> times, it does not install require dependencies for module.
>
> For example, when i was trying to install
> cpanm XML::SAX -> it fai
17 matches
Mail list logo