On Mon, Nov 23, 2015 at 02:58:35PM -0800, ToddAndMargo wrote:
> 
> "anonymous references"? Is that the mysterious "->" thingy?
> 
>      $ua = LWP::UserAgent->new;
>      $ua->timeout ( MaxTime1 );
>      $ua->show_progress;
> 

perl-for-dummies to the rescue, read section about object-oriented programming 
in perl.

Quick answer, it is same as C++:

std::string *s = new std::string;
s->length();
s->c_str();

-- 
Konstantin Olchanski
Data Acquisition Systems: The Bytes Must Flow!
Email: olchansk-at-triumf-dot-ca
Snail mail: 4004 Wesbrook Mall, TRIUMF, Vancouver, B.C., V6T 2A3, Canada

Reply via email to