note Masem This has to do with how Perl handles object oriented calls. (See [perltoot] for a starting point). Perl handle functions called on an object as calling the function in the object's class' namespace, placing the object at the start of the argument list for the function. Basically, when you write: <code> $myobject->do_something( $arg1, $arg2, @rest ); </code> Perl reparses this as: <code> do_something( $myobject, $arg1, $arg2, @rest ); </code> and then otherwise treats this as a normal function. Thus, to get the actual object that you are working on, typically called "$self", you simple shift out the first argument that is passed to that function. <P> So you're doing everything correctly; that first line is basically necessary to work with objects in perl. <P> ----------------------------------------------------- <BR> <I> <A HREF="">Dr. Michael K. Neylon</A> - <a href=""></a> || "You've left the lens cap of your mind on again, Pinky" - The Brain <BR> <FONT COLOR="#800000"><I>"I can see my house from here!"</I></FONT> <BR> <FONT COLOR="#808080"><I>It's not what you know, but knowing how to find it if you don't know that's important</I></FONT> </I> 145285 145285