Re: print reference

2008-07-01 Thread onlineviewer
On Jun 30, 5:38 pm, [EMAIL PROTECTED] (Rob Dixon) wrote: > onlineviewer wrote: > > > Can someone tell me the proper syntax to print out the value in a > > reference? > > Thank you.,, > > I'm not sure what you mean. Look: > > > my $string = ''; > > open my $scalar_fh, '>>', \$string; > > So you have

Re: print reference

2008-06-30 Thread Rob Dixon
onlineviewer wrote: > > Can someone tell me the proper syntax to print out the value in a > reference? > Thank you.,, I'm not sure what you mean. Look: > my $string = ''; > open my $scalar_fh, '>>', \$string; So you have opened a file handle to append to the scalar $string. > my $log_message =

Re: print reference

2008-06-30 Thread John W. Krahn
onlineviewer wrote: Hello All, Hello, Can someone tell me the proper syntax to print out the value in a reference? I assume you mean how to dereference a reference? perldoc perlref Thank you.,, my $string = ''; open my $scalar_fh, '>>', \$string; my $log_message = "here is my string..