did not seem to work I started with
system( "$tunctl -d " . $refcfg->{"interface"} . " >/dev/null 2>&1" )
changed to
system( "$tunctl -d $$refcfg{"interface"} >/dev/null 2>&1" )
or
system( "$tunctl -d ${$refcfg}{"interface"} >/dev/null 2>&1" )
and it errored
Alex
On Wed, Dec 17, 2003 at 07:43:50PM +1100, Alexander Samad wrote:
> do i undert stand right that
>
> $$ is sort of equal to ->
>
> A
> On Wed, Dec 17, 2003 at 07:18:30PM +1100, tone wrote:
> >
> > I usually write something like
> >
> > print "this is just text $$refH{key}";
> >
> > On 17/12/2003, at 6:58 PM, Alexander Samad wrote:
> >
> > >Hi
> > >
> > >I have a hash array which is being passed by ref, now I would like to
> > >access an element inside an "" for a print statement
> > >
> > >like
> > >
> > >print "This is just text $refH->{"Key"} this is still text\n"
> > >
> > >but I keep getting errors so I have to re write as
> > >
> > >print "This is just text " . $refH->{"Key"} . " this is still text\n"
> > >
> > >Which causes problems if $refH->{"Key"} equates to blank
> > >
> > >A
> > >--
> > >SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
> > >Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
> >
> >
>
> --
> SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
> Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
pgp00000.pgp
Description: PGP signature
-- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
