Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Perl > Perl Misc > variable question

Reply
Thread Tools

variable question

 
 
wesf
Guest
Posts: n/a
 
      05-09-2007
I'm new to Perl and have taken over a website built on the Interchange
framework. I have a problem that i tracked down to two variables $URL
$ and $EXPAND$. I know variables start with a $, but what's the
significance of the $ after the variable name?
Thanks,
Wes

 
Reply With Quote
 
 
 
 
Jürgen Exner
Guest
Posts: n/a
 
      05-09-2007
wesf wrote:
> I'm new to Perl and have taken over a website built on the Interchange
> framework. I have a problem that i tracked down to two variables $URL
> $ and $EXPAND$. I know variables start with a $, but what's the
> significance of the $ after the variable name?


As far as Perl is concerned: there is none. That trailing dollar sign does
not belong to the variable name.
Maybe it is some marker for the Interchange framework?

jue


 
Reply With Quote
 
 
 
 
usenet@DavidFilmer.com
Guest
Posts: n/a
 
      05-10-2007
On May 9, 4:04 pm, wesf <wes.f...@gmail.com> wrote:
> I have a problem that i tracked down to two variables $URL$
> and $EXPAND$


I suspect those are actually template placeholders; Interchange
(whatever that is) would substitute actual values as the page was
served.


--
The best way to get a good answer is to ask a good question.
David Filmer (http://DavidFilmer.com)

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Question: Evaluate an string variable's value to a variable Mir Nazim Python 2 12-21-2008 07:05 AM
"Variable variable name" or "variable lvalue" mfglinux Python 11 09-12-2007 03:08 AM
question: referencing a variable with a variable knohr Ruby 5 06-30-2007 11:51 AM
Newbie Question: Global variable vs. Top-level variable Sam Kong Ruby 2 05-25-2005 09:47 PM
How do I scope a variable if the variable name contains a variable? David Filmer Perl Misc 19 05-21-2004 03:55 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57