Re: Implementation of sFTP using Perl

2012-01-13 Thread Ireneusz Pluta
W dniu 2012-01-12 20:00, Wagner, David --- Sr Programmer Analyst --- CFS pisze: From: Spectroman [mailto:spectro...@yahoo.com] Sent: Thursday, January 12, 2012 11:51 To: Wagner, David --- Sr Programmer Analyst --- CFS Subject: Re: Implementation of sFTP using Perl Hi David, Never really use

Inserting a new data structure in a bless reference

2012-01-13 Thread Parag Kalra
The simplest way I thought of expressing this question is through Pseudo-script so here it is: use strict; use warnings; use FooBar; my $obj = FooBar->new; Do something ... $obj->{'new_key'} = 'some_value' Now I am not sure if that is the correct way of inserting a new data struct

Re: Inserting a new data structure in a bless reference

2012-01-13 Thread Jeff Peng
于 2012-1-14 11:25, Parag Kalra 写道: use FooBar; my $obj = FooBar->new; Do something ... $obj->{'new_key'} = 'some_value' Now I am not sure if that is the correct way of inserting a new data structure into an already bless reference I don't think you should modify the blessed obj