Re: what is this variable/value anyway?

2001-12-11 Thread $Bill Luebkert

Edward G. Orton wrote:

 I dimly remember that there is a function in perl which will
 tell you if a variable is a scalar, array, or hash. I tried
 perldoc, and a number of other things, but can't for the life of
 me remember what it was, or where I used it before.
 
 Suggestions?


Perlfunc man page - function 'ref'

-- 
   ,-/-  __  _  _ $Bill Luebkert   ICQ=14439852
  (_/   /  )// //   DBE Collectibles   Mailto:[EMAIL PROTECTED]
   / ) /--  o // //  http://dbecoll.tripod.com/ (Free site for Perl)
-/-' /___/__/_/_ Castle of Medieval Myth  Magic http://www.todbe.com/

___
Perl-Win32-Users mailing list
[EMAIL PROTECTED]
http://listserv.ActiveState.com/mailman/listinfo/perl-win32-users



RE: what is this variable/value anyway?

2001-12-11 Thread Thiebaud Richard

Are you thinking of the ref operator, which returns the type
a reference points to?   

 -Original Message-
 From: Edward G. Orton [mailto:[EMAIL PROTECTED]]
 Sent: Saturday, December 08, 2001 6:11 PM
 To: Perl-Win32-Users Mailing List
 Subject: what is this variable/value anyway?
 
 
 I dimly remember that there is a function in perl which will
 tell you if a variable is a scalar, array, or hash. I tried
 perldoc, and a number of other things, but can't for the life of
 me remember what it was, or where I used it before.
 
 Suggestions?
 
 ego
 Edward G. Orton, GWN Consultants Inc.
 Phone: 613-764-3186, Fax: 613-764-1721
 email: [EMAIL PROTECTED]
 
 ___
 Perl-Win32-Users mailing list
 [EMAIL PROTECTED]
 http://listserv.ActiveState.com/mailman/listinfo/perl-win32-users
 
___
Perl-Win32-Users mailing list
[EMAIL PROTECTED]
http://listserv.ActiveState.com/mailman/listinfo/perl-win32-users



Re: what is this variable/value anyway?

2001-12-11 Thread Edward G. Orton


- Original Message -
From: $Bill Luebkert [EMAIL PROTECTED]
To: Edward G. Orton [EMAIL PROTECTED]
Cc: Perl-Win32-Users Mailing List
[EMAIL PROTECTED]
Sent: Tuesday, December 11, 2001 10:44 PM
Subject: Re: what is this variable/value anyway?


 Edward G. Orton wrote:

  I dimly remember that there is a function in perl which will
  tell you if a variable is a scalar, array, or hash. I tried
  perldoc, and a number of other things, but can't for the
life of
  me remember what it was, or where I used it before.
 
  Suggestions?


 Perlfunc man page - function 'ref'

Yup, that's it. Thanks a bunch. I remembered it as refer or
reference, and couldn't find what I needed from perldoc.

ego
Edward G. Orton, GWN Consultants Inc.
Phone: 613-764-3186, Fax: 613-764-1721
email: [EMAIL PROTECTED]

___
Perl-Win32-Users mailing list
[EMAIL PROTECTED]
http://listserv.ActiveState.com/mailman/listinfo/perl-win32-users



RE: what is this variable/value anyway?

2001-12-11 Thread Toby Stuart

ref() is the beast u require.


 Toby J Stuart
 Senior Web Developer
 Figtree Systems P/L
 http://www.figtreesys.com.au
 mailto:[EMAIL PROTECTED]

 -Original Message-
 From: Edward G. Orton [SMTP:[EMAIL PROTECTED]]
 Sent: Sunday, December 09, 2001 10:11 AM
 To:   Perl-Win32-Users Mailing List
 Subject:  what is this variable/value anyway?
 
 I dimly remember that there is a function in perl which will
 tell you if a variable is a scalar, array, or hash. I tried
 perldoc, and a number of other things, but can't for the life of
 me remember what it was, or where I used it before.
 
 Suggestions?
 
 ego
 Edward G. Orton, GWN Consultants Inc.
 Phone: 613-764-3186, Fax: 613-764-1721
 email: [EMAIL PROTECTED]
 
 ___
 Perl-Win32-Users mailing list
 [EMAIL PROTECTED]
 http://listserv.ActiveState.com/mailman/listinfo/perl-win32-users
___
Perl-Win32-Users mailing list
[EMAIL PROTECTED]
http://listserv.ActiveState.com/mailman/listinfo/perl-win32-users