Re: [lug-nuts] double colon in perl scripts

From: Brian Lavender (brian@brie.com)
Date: Fri Dec 03 1999 - 21:31:10 PST


I just realized I put an internal host name for some of the url's of
this post.

On Thu, Dec 02, 1999 at 07:55:08PM -0800, Brian Lavender wrote:
> I just installed webcal on my development server and I would like
> to confirm the meaning of the double colon in the webcal.cgi
> script line 24. You can see it at
>
> http://debian/cgi-bin/cvsweb.cgi/webcal/webcal.cgi?annotate=1.1

http://brie.com:8080/cgi-bin/cvsweb.cgi/webcal/webcal.cgi?annotate=1.1

>
> Of course feel free to try it out at
>
> http://www.brie.com:8080/cgi-bin/webcal.cgi
>
> It looks to me that since we are using strict, and "my" variables go
> out of scope when you go into a different file. We want to
> make the variable $::calendar visible to other files (or perhaps
> I should say the modules) so we put it as $::calendar. This would
> be the same as saying $main::calendar.
>
> If I look at webcal_conf.pm on line 76 I see $::calendar which I assume is the
> same variable as in webcal.cgi .
>
> http://debian/cgi-bin/cvsweb.cgi/webcal/webcal_conf.pm?annotate=1.1

http://brie.com:8080/cgi-bin/cvsweb.cgi/webcal/webcal_conf.pm?annotate=1.1

>
> Am I correct with this assumption?
>
> The cvs for webcal is at http://www.brie.com:8080/cgi-bin/cvsweb.cgi
>
> brian

-- 
Brian Lavender
http://www.brie.com/brian/
****************************************************************************
* To UNSUBSCRIBE from the list, send a message with "unsubscribe lug-nuts"
* in the message body to majordomo@saclug.org. Please direct other
* questions, comments, or problems to lug-nuts-owner@saclug.org.



This archive was generated by hypermail 2b29 : Fri Feb 25 2000 - 14:29:08 PST