On Tue, 2010-10-26 at 14:11 +0800, sync wrote:
> On Tue, Oct 26, 2010 at 10:08 AM, Shawn H Corey wrote:
>
> > On 10-10-25 09:20 PM, sync wrote:
> >
> >> I tried to google something about that and found the perl module called
> >> GD::Graph
> >> can create the graph . But i met the problem that i
On Mon, 2009-08-10 at 17:14 -0400, Chas. Owens wrote:
> On Mon, Aug 10, 2009 at 16:56, Martin Spinassi wrote:
> snip
> > The problem with that, is that one variable is added/removed from the
> > global config, then it should be changed at the script.
> >
> > I don
On Mon, 2009-08-10 at 16:13 -0400, Chas. Owens wrote:
> On Mon, Aug 10, 2009 at 16:07, Martin Spinassi wrote:
> snip
> > It's working I don't have any issues with that :), but I'd like to know
> > something...can I make it work with "use strict"?
>
On Mon, 2009-08-10 at 15:37 -0400, Gorrebeeck, Robert wrote:
> Martin
>
> What you want to do is use the require function
>
> require "directory/filename";
>
> Within your config file
>
> You would set up the variables like this in your config file
> #VARIABLES (home directory) - make sure you
Hi list!
I want to include some config and variables files into my perl script,
but couldn't find the way to do so. All I found is methods to include
some modules, "use", and so...
Is there something like the ". file" in bash to include it into the
script?
Cheers
Martin
--
To unsubscribe,
On Fri, 2009-03-20 at 11:07 -0700, John W. Krahn wrote:
> Martin Spinassi wrote:
> > Hi list!
>
> Hello,
>
> > I've just started with perl, but I'm really excited about its power.
>
> I'm excited that you're excited! ;-)
I'm e
On Fri, 2009-03-20 at 18:48 +0100, Gunnar Hjalmarsson wrote:
> Martin Spinassi wrote:
> > Is there any way to open a file for input and output at the same time?
>
> Yes. Open it with the '+<' MODE.
>
> open my $fh, '+<', $file or die "Cou
Hi list!
I've just started with perl, but I'm really excited about its power.
I'm trying to edit a file, but couldn't find out how to do it without
making a temp file. I've been searching for the solution, but all I find
is how to do it from command line, adding a "-i" to the execution.
My scrip