RE: Length() is bits/bytes or neither

2003-08-28 Thread patrick hall
Hi, length() returns the length in characters, which for ASCII is also the number of bytes. To get the bits, just multiply by 8. If you are using a Unicode character set instead, I'm not too sure what will be returned, or how you can convert it to bits. Unicode can get pretty hairy, but

sequences of capitalized words

2002-06-05 Thread patrick hall
Hi, I'd like to push all sequences of capitalized words onto an array. So, given this paragraph (which I just snagged off AP) Indian Prime Minister Atal Bihari Vajpayee said Wednesday that India would consider jointly monitoring the disputed Kashmir border with its longtime rival Pakistan.

A good place to tell CPAN to look?

2002-05-14 Thread patrick hall
Hi, I've been trying really hard to get SOAP::Lite installed, and I think the problem comes down to my CPAN looking in a bad place for the dependencies. How can I reset the server that CPAN searches, and do you have any recommendations for good ones? I always get to that point in CPAN where

A perldoc trick in Google

2002-03-08 Thread patrick hall
Hi all, Hope this isn't too off-topic, but I've found a pretty useful way to look up Perl documentation, which usually works pretty well. (Assuming you're online.) Say you want to look up the docs for the 'open' function. Just go to Google and do: perldoc open I know, it's weird. But usually

Pointers versus References

2002-01-12 Thread patrick hall
Hi pholks, It's taken me a while to wrap my head around references, since I thought they were always Perl-specific. (At least, the term 'reference' doesn't show up in KR!) Anyway, it finally occurred to me that the term 'reference' might just be Perlish for what other languages (C, I'm

Sorting a list of links by the linked text

2001-11-20 Thread patrick hall
Hellew, I have an include file for my weblog that looks like this: bra href=http://www.ocf.berkeley.edu/;nutz0/a bra href=http://mundissa.com/;cronoacute;pios/a bra href=http://feralliving.blogspot.com;feral living/a bra href=http://underwatergirl.blogspot.com;so blue it#39;s black/a bra

Certified in Perl?

2001-09-24 Thread patrick hall
Hi there, I'm wondering if there are any certification tests for Perl. I would just like to be able to put something on applications and resumes to let employers know I can do some Perl. Any ideas? Thanks! -Patrick Hall [EMAIL PROTECTED

Trouble with CPAN

2001-08-17 Thread patrick hall
Hi, I'm having trouble installing stuff from CPAN. Apparently I should install something called Net:FTP 'as soon as possible' (scawwy!), because it says that every time I try to install anything. But it must not be absolutely necessary, since I have managed to install a couple of modules. I