2008/10/25 Kelly Jones <[EMAIL PROTECTED]>:
> How can I see all the local, global, etc Perl variables defined at a
> given point in my program?
>
see this:
http://perl.plover.com/FAQs/Namespaces.html
--
Jeff Pang
http://home.arcor.de/pangj/
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For addi
2008/10/23 howa <[EMAIL PROTECTED]>:
> Hello,
>
> As described in the mod_perl documents, Apache can share variable
> (i.e. data) if they are declared during Apache start up.
>
> So if I have a shared variable during startup, storing the DBI
> handler, I assume all the process is sharing this same
Kelly Jones wrote:
I saw something like this in a mimedefang tutorial:
sub foo () {return 1;}
By trial and error, I discovered this means: foo takes EXACTLY four
arguments, no less, no more.
Where can I learn more about this syntax/feature?
http://groups.google.com/group/comp.lang.perl.m
How can I see all the local, global, etc Perl variables defined at a
given point in my program?
--
We're just a Bunch Of Regular Guys, a collective group that's trying
to understand and assimilate technology. We feel that resistance to
new ideas and technology is unwise and ultimately futile.
--
I saw something like this in a mimedefang tutorial:
sub foo () {return 1;}
By trial and error, I discovered this means: foo takes EXACTLY four
arguments, no less, no more.
Where can I learn more about this syntax/feature?
--
We're just a Bunch Of Regular Guys, a collective group that's try
[EMAIL PROTECTED] wrote:
>
> Week two noob here.
>
> I am writing a script to download encrypted files using ftp then after
> they're downloaded decrypt them. I can't seem to get the GPG decrypt
> module to work though. The script does work when I use "system" to
> call another script using gpg d
On Thu, 23 Oct 2008 20:41:14 +0100, [EMAIL PROTECTED] (Nigel
Peck) wrote:
No perl module, but here are a couple of external commands which you can
run from a perl script.
[snip]
You can also search google and groups.google for many
examples of "mencoder convert flv".
Thanks Zentara, that's great
Hello,
Week two noob here.
I am writing a script to download encrypted files using ftp then after
they're downloaded decrypt them. I can't seem to get the GPG decrypt
module to work though. The script does work when I use "system" to
call another script using gpg directly. Here is the script. I w
John W. Krahn wrote:
Brian wrote:
Hello
Hello,
Having played around for a while, I am able to get a reasonable result
using Example 1, the unreasonable part being that l> gets added to the
end of the file, I can only presume here that it is duplicating the
last 2 characters of the last lin
protoplasm wrote:
On Oct 23, 2:09 am, [EMAIL PROTECTED] (John W. Krahn) wrote:
Perhaps you need to use the -xdev switch for find to ignore other file
systems?
Thank you, John. That certainly helped. It now ignores the mounted
file systems but still traverses hidden directories. I must be
overl
Brian wrote:
Hello
Hello,
Having played around for a while, I am able to get a reasonable result
using Example 1, the unreasonable part being that l> gets added to the
end of the file, I can only presume here that it is duplicating the last
2 characters of the last line in the file, that be
On Oct 23, 2:09 am, [EMAIL PROTECTED] (John W. Krahn) wrote:
> Perhaps you need to use the -xdev switch for find to ignore other file
> systems?
Thank you, John. That certainly helped. It now ignores the mounted
file systems but still traverses hidden directories. I must be
overlooking something s
Hello,
As described in the mod_perl documents, Apache can share variable
(i.e. data) if they are declared during Apache start up.
So if I have a shared variable during startup, storing the DBI
handler, I assume all the process is sharing this same handler?
So if one Apache is doing query, is tha
Hello
Having played around for a while, I am able to get a reasonable result
using Example 1, the unreasonable part being that l> gets added to the
end of the file, I can only presume here that it is duplicating the last
2 characters of the last line in the file, that being .
Q1. Am I presumi
> On Fri, Oct 24, 2008 at 8:42 PM, Chas. Owens <[EMAIL PROTECTED]> wrote:
>>
>>
>> On Oct 24, 2008, at 11:00, "Sharan Basappa" <[EMAIL PROTECTED]>
>> wrote:
>>
>>> Hi,
>>>
>>> I was just trying to match a string and save it in a single statement
>>> as follows:
>>>
>>> $extracted = "cp xyz";
>
> I was just trying to match a string and save it in a single statement
> as follows:
>
> $extracted = "cp xyz";
> $state_var = $extracted =~ m/cp\s+(.*)/;
> print "$state_var $1 \n";
>
> The output is: 1 xyz
>
> So the assignment to $state_var does not work. Is this an incorrect way.
>
The
On Fri, Oct 24, 2008 at 8:42 PM, Chas. Owens <[EMAIL PROTECTED]> wrote:
>
>
> On Oct 24, 2008, at 11:00, "Sharan Basappa" <[EMAIL PROTECTED]>
> wrote:
>
>> Hi,
>>
>> I was just trying to match a string and save it in a single statement
>> as follows:
>>
>> $extracted = "cp xyz";
>> $state_var = $ex
On Oct 24, 2008, at 11:00, "Sharan Basappa" <[EMAIL PROTECTED]>
wrote:
Hi,
I was just trying to match a string and save it in a single statement
as follows:
$extracted = "cp xyz";
$state_var = $extracted =~ m/cp\s+(.*)/;
print "$state_var $1 \n";
The output is: 1 xyz
So the assignment t
On Fri, Oct 24, 2008 at 5:00 PM, Sharan Basappa <[EMAIL PROTECTED]>wrote:
> Hi,
>
> I was just trying to match a string and save it in a single statement
> as follows:
>
> $extracted = "cp xyz";
> $state_var = $extracted =~ m/cp\s+(.*)/;
> print "$state_var $1 \n";
>
> The output is: 1 xyz
>
> So
Hi,
I was just trying to match a string and save it in a single statement
as follows:
$extracted = "cp xyz";
$state_var = $extracted =~ m/cp\s+(.*)/;
print "$state_var $1 \n";
The output is: 1 xyz
So the assignment to $state_var does not work. Is this an incorrect way.
Regards
--
To unsubscr
Brian wrote:
John W. Krahn wrote:
Brian wrote:
Partial success.
The value is normally located starting at the 35th char
into the line.
I split the line so it was at the beginning of a new line and
worked.
Unfortunately the dates never changed.
I will sleep on this and attack it again in
Hi,
I found the option for using 2 y axis in GD::Graph,
(using the 'two_axes' option, and y1_,y2_, options.)
However, I found that this only allows the two axes to
have different scales, but not be completely
independent.
For example, if I want the first of the axis to run
between -1 and 1, and
22 matches
Mail list logo