Re: data types

2001-12-05 Thread Brett W. McCoy
On Wed, 5 Dec 2001, Brett W. McCoy wrote: > Technically, Perl only has two kinds of data types -- lists and scalars. Actually, I would break that down even further into three types, scalars, arrays (of scalars) and hashes (of scalars). -- Brett http://w

Re: data types

2001-12-05 Thread Brett W. McCoy
On Wed, 5 Dec 2001, Ruth Albocher wrote: > I wish to use variables of type: > double/long (but not float!) > binary numbers and casting strings to binary > unsigned integers(doubled would be better!) > > can somone point me in the right direction? Technically, Perl only has two kinds of data typ

Re: data types

2001-12-05 Thread Maurice Reeves
Well, Perl doesn't have these data types explicitly (at least not yet) but what you should look at are the two functions Pack and Unpack. Pack and Unpack take scalar variables and convert them according to the format you specify. The man pages for them are quite in depth. Hope that helps. Take

Re: data types

2001-07-22 Thread Jos I. Boumans
Hello, i wrote some beginners tutorial on http://japh.nu which deal with most of the questions you're asking here maybe you should take a look, see if that answers some of your questions. regards, Jos Boumans HELP More specifically : my essay demands me to find out about Perl data types.Would