Hi Shlomi,
> > In your opinion, what should the hash mentioned in your first
> > paragraph contain?
>
> It should contain data specific to every $lang/$kurz pair (whatever
$kurz is - I
> don't speak German, and one should use English identifiers in one's
code.).
> The keys would be either $lang o
Hi Nora,
On Tuesday 02 November 2010 10:38:03 HACKER Nora wrote:
> Hi Shlomi,
>
> > Instead of calling your variables $sql_$kurz and $sth_$kurz, etc. put
>
> them in
>
> > %umg hash or a different one - possibly referenced by keys of a hash
> > reference or slots of an object:
> >
> > {{{
> >
Hi Shlomi,
> Instead of calling your variables $sql_$kurz and $sth_$kurz, etc. put
them in
> %umg hash or a different one - possibly referenced by keys of a hash
> reference or slots of an object:
>
> {{{
> my $lang_sql = $runtime_data{$lang} = NoraSqlObject->new;
>
> $lang_sql->sql(
> "s
Hi Nora,
On Friday 29 October 2010 07:23:13 HACKER Nora wrote:
> Hello,
>
> In the below code I am desperately trying to accomplish the valid use of
> variable variable names but still fail. I have already read many sites,
> tutorials, mailing list posts, all saying th
Hello,
In the below code I am desperately trying to accomplish the valid use of
variable variable names but still fail. I have already read many sites,
tutorials, mailing list posts, all saying that this is best accomplished by
using a hash. Please would you tell me if I understood that
On Thursday, May 23, 2002, at 05:39 , Michael Carmody wrote:
> How do I define variable variable names ?
>
> I have an array that contains the header cells of some long columns, from
> which i want to create new arrays which are called by the names in the
> array.
>
> e.g
I haven't coded in perl for far too long... that aside..
How do I define variable variable names ?
I have an array that contains the header cells of some long columns, from
which i want to create new arrays which are called by the names in the array.
e.g.
@header = (Name, Address,
> From: The Black Man <[EMAIL PROTECTED]>
> Date: Tue, 2 Oct 2001 15:14:50 -0700 (PDT)
> To: [EMAIL PROTECTED]
> Subject: variable variable-names
>
> Hi all,
>
> I'm trying to write a script that will pull out values
> for form data radio buttons for muli
I didn't use this with perl, it was with php.
however, I used
Blah
Blah
Then in the php I had a loop that went through the values of answer
At 03:14 PM 10/2/2001 -0700, The Black Man wrote:
>Hi all,
>
>I'm trying to write a script that will pull out values
>for form data radio buttons for mul
Hi all,
I'm trying to write a script that will pull out values
for form data radio buttons for muliple answers. This
is what a standard line looks like:
Blah
For each question I've tried to make up a separate set
of arrays containing the button values:
open (QUES, ") {
chomp $line;
if
Me ([EMAIL PROTECTED]) wrote:
> > [symbolic references are] a bad idea.
>
> I've not seen this expressed in, say, the Camel.
I missed the message you quoted above, so I reply to you, even if you
don't said this :-)
(I hope that's not too off-topic here, but a bit of advocacy sometimes
doesn't h
> > > You can actually execute the above php code
> > > under perl and it will work!
> > >
> > > (You need to add
> > >
> > > sub echo ($) { print shift }
> > >
> > > at the start to let perl know what to do with
> > > echo, or you could just replace 'echo' with
> > > 'print'.)
> [symbolic re
- Original Message -
From: M.W. Koskamp <[EMAIL PROTECTED]>
To: Me <[EMAIL PROTECTED]>; Christodoulou Demetris
<[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Thursday, May 03, 2001 10:52 AM
Subject: Re: How to implement Variable variable names?
>
> -
- Original Message -
From: Me <[EMAIL PROTECTED]>
To: Christodoulou Demetris <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Thursday, May 03, 2001 10:26 AM
Subject: Re: How to implement Variable variable names?
> > Hi,
> > I am writing an application w
> Hi,
> I am writing an application where i have to read
> from a file variable names and variable values.
> Is there is a way to use Variable Variables with
> the same way used in php?
> For example:
> $a = "hello";
> $$a = "world";
> where echo "$a ${$a}"; and echo "$a $hello"; would output
Hi,
I am writing an application where i have to read from a file variable names and
variable values.
Is there is a way to use Variable Variables with the same way used in php?
For example:
$a = "hello";
$$a = "world";
where echo "$a ${$a}"; and echo "$a $hello"; would output the same.
Thanks
16 matches
Mail list logo