Close but not quite it.
array = "danny tom bill john jane"
With only having $fname from reading array, I need to create
the following scalars.
$lnamedanny = 'mallory';
$lnametom = 'green';
$lnamebill = 'smith';
$lnamejohn = 'doe';
$lnamejane = 'doe';
On 15/Oct/2001 20:15:33, Melvyn Sopacua wrote:
> I also get a bit 'circular' when working with this stuff, so is this
> what your looking for?
>
> #!/perl/bin/perl -w
>
> use CGI qw/:all/;
> #use strict;
> $|++;
>
> print header, start_html('test');
> my $fname='danny';
> $$fname='test';
> my $lname='mallory';
> my $tempname=$$fname . $lname;
> $$tempname='hello';
> print ul(
> li($lname),
> li($$fname),
> li($$tempname),
> li($tempname)
> );
> print end_html;
>
> Notice the commented out 'strict' modules here -> it won't do it when using
> strict refs.
>
> At 19:57 15-10-01, you wrote:
>
> >I need to create a scalar that is the word lname combined with
> >what is found as interpretted $fname ($$fname).
> >ie; $lnamedanny = mallory.
>
>
>
>
> ____________________________________________________
>
> </MELVYN>
>
> void wakeup()
> {
> for(long int cuppajava;drink();cuppajava++);
> }
>
> --------------------------------------------------------------------------------
> For unsubscription of this list send an email to [EMAIL PROTECTED] with email
> data containing unsubscribe emailadd sambar
>
>
--------------------------------------------------------------------------------
For unsubscription of this list send an email to [EMAIL PROTECTED] with email
data containing unsubscribe emailadd sambar