Local and global variables

2005-06-28 Thread Andrew Black
Can someone explain the difference between use vars qw/$defined_by_vars/ ; our $defined_by_our ; $not_explicily_defined = 1 ; Are these all global to the package they are defined it. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Hash of Lists

2005-06-06 Thread Andrew Black
I am trying to set up a Hash of Lists and am following the example http://www.perl.com/doc/manual/html/pod/perldsc.html#HASHES_OF_LISTS Specifically # append new members to an existing family push @{ $HoL{"flintstones"} }, "wilma", "betty"; I don't understand why the construct @{ x } is w

Re: Changing the path in @INC

2005-02-11 Thread Andrew Black
Boysenberry Payne wrote: I know how to add to the perl path, but how do you take away. I have the fink /sw/ path included in the @INC array, and I want to be able to temporarily remove them, or at least put them at the end. Is there a way to set it up so that it's semi permanent? I would ask how

Extracting and email address

2005-01-21 Thread Andrew Black
Is there a module to extract the real email address from a header. e.g. given "blah blach" <[EMAIL PROTECTED]> extracts the [EMAIL PROTECTED] I am loathe to roll my own - sure there are formats I haven't thought of. Andrew -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands,

Re: Regex lookahead problem

2005-01-14 Thread Andrew Black
Can someone explain how lookaheads work and give an example of using one Cheers -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]