On Thu, 24 Mar 2005 05:36:36 -0300, ianfp wrote: > i want to know how kind of structure this code generates .... and how can i > print it.. > > @toks = grep { $_->[0] !~ /^(and|with|has|wants|options|here)$/i } @toks; > local ($poll, $user, $i);
Use the Data::Dumper module. Add this at the end of the code: use Data::Dumper; print Dumper([EMAIL PROTECTED], $poll, $user, $i); # looking at a whole bunch of vars Remove the lines when you finish debugging your code. Read "perldoc Data::Dumper" for more details. Hope this helps, -- Offer Kaye -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>