EPrints Technical Mailing List Archive
See the EPrints wiki for instructions on how to join this mailing list and related information.
Message: #00835
< Previous (by date) | Next (by date) > | < Previous (in thread) | Next (in thread) > | Messages - Most Recent First | Threads - Most Recent First
[EP-tech] Re: Random question: Eprint core fields
- To: eprints-tech@ecs.soton.ac.uk
- Subject: [EP-tech] Re: Random question: Eprint core fields
- From: Ian Stuart <Ian.Stuart@ed.ac.uk>
- Date: Wed, 04 Jul 2012 15:53:50 +0100
On 04/07/12 15:45, Sebastien Francois wrote:
Single quotes won't extrapolate a variable (and characters such as \n, \r) while double quotes will: my $var1 = 'hello'; my $var2 = '$var1 world'; my $var3 = "$var1 world"; print $var2; # will print <$var1 world> print $var3; # will print <hello world>
True....$hash{$key} = $value is the same as $hash{"$key"} = $value, but very different from $hash{'$key'} = '$value' :)
-- Ian Stuart. Developer: ORI, RJ-Broker, and OpenDepot.org Bibliographics and Multimedia Service Delivery team, EDINA, The University of Edinburgh. http://edina.ac.uk/ This email was sent via the University of Edinburgh. The University of Edinburgh is a charitable body, registered in Scotland, with registration number SC005336.
- References:
- [EP-tech] Random question: Eprint core fields
- From: John Salter <J.Salter@leeds.ac.uk>
- [EP-tech] Re: Random question: Eprint core fields
- From: Ian Stuart <Ian.Stuart@ed.ac.uk>
- [EP-tech] Re: Random question: Eprint core fields
- From: Sebastien Francois <sf2@ecs.soton.ac.uk>
- [EP-tech] Random question: Eprint core fields
- Prev by Date: [EP-tech] Re: informal eprints development workshop
- Next by Date: [EP-tech] Re: Random question: Eprint core fields
- Previous by thread: [EP-tech] Re: Random question: Eprint core fields
- Next by thread: [EP-tech] Re: Random question: Eprint core fields
- Index(es):