On Wed, 2002-12-11 at 13:55, Ruth Albocher wrote:
> I need to "cast" a scalar reference  (SCALAR0x9999) into a reference to
> an object that I can use. (in other words, bless it).
> How can I do it?

my $object = bless $scalar_reference, 'Your::Class';

-- 
Nigel Wetters, Senior Programmer, Development Group
Rivals Digital Media Ltd, 151 Freston Road, London W10 6TH
Tel. 020 8962 1346 (direct line), Fax. 020 8962 1311
PGP keyserver: pgp.mit.edu  <[EMAIL PROTECTED]>


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to