Re: dot-named sub

2001-10-03 Thread Michael Fowler
On Wed, Oct 03, 2001 at 09:48:32AM +0200, Josi Luis Sancho wrote: > I am using XML::Grove and Data::Grove::Visitor to parse SGML/XML > documents; the visitor package generates calls back by element names; > unfortunately I face dot-named elements and I MUST parse them by means of > identically dot

Re: dot-named sub

2001-10-03 Thread José Luis Sancho
Brett W. McCoy wrote: > subroutines. The next question is, why do you *need* to have subroutine > names with dots in them? > I am using XML::Grove and Data::Grove::Visitor to parse SGML/XML documents; the visitor package generates calls back by element names; unfortunately I face dot-named elem

Re: dot-named sub

2001-10-02 Thread _brian_d_foy
In article <00a201c14b46$2d177330$9f01a8c0@Jaya>, [EMAIL PROTECTED] (Rajeev Rumale) wrote: > Well only "_brian_d_foy <[EMAIL PROTECTED]>" can answer that , as he/she has > posted the question. i posted the answer, not the question. :) -- brian d foy <[EMAIL PROTECTED]> - Perl services for hir

Re: dot-named sub

2001-10-02 Thread Rajeev Rumale
- From: "Brett W. McCoy" <[EMAIL PROTECTED]> To: "Rajeev Rumale" <[EMAIL PROTECTED]> Cc: "José Luis Sancho" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Tuesday, October 02, 2001 8:53 PM Subject: Re: dot-named sub > On Tue, 2 Oct 2001, R

Re: dot-named sub

2001-10-02 Thread Brett W. McCoy
On Tue, 2 Oct 2001, Rajeev Rumale wrote: > Well I have a way around. I have not done this but sure will work. may be > gurus and give a code for this. > > If we cannot use dot in a sub routine name, but surely can use as a alias. > > All we need to do is to have an hash table and assing the fun

Re: dot-named sub

2001-10-02 Thread Rajeev Rumale
; Sent: Tuesday, October 02, 2001 7:38 PM Subject: Re: dot-named sub > On Tue, 2 Oct 2001, José Luis Sancho wrote: > > > I am in need of a tip to name a sub with a '.' (dot) as > > > > sub www.com { > > bla, bla > > } &g

Re: dot-named sub

2001-10-02 Thread Brett W. McCoy
On Tue, 2 Oct 2001, José Luis Sancho wrote: > I am in need of a tip to name a sub with a '.' (dot) as > > sub www.com { > bla, bla > } I don't think you can use dots in sub or variables names. Use an underscore _ instead. -- Brett http://www.chapel

Re: dot-named sub

2001-10-02 Thread _brian_d_foy
In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED] (Jos? Luis Sancho) wrote: > I am in need of a tip to name a sub with a '.' (dot) as > > sub www.com { > bla, bla > } you can't use a full stop. use an underscore instead. sub www_com { } -- brian d foy <[EMAIL PROTECTED]> - Perl ser

dot-named sub

2001-10-02 Thread José Luis Sancho
Hi: I am in need of a tip to name a sub with a '.' (dot) as sub www.com { bla, bla } Any suggestion? Thanks in advance, Jose Luis Sancho -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]