Questions tagged [symbolic-references]
22 questions
1
vote
3 answers
Is it possible to symbolically reference a Perl core module?
I know I could easily do something like
sub sin {
sin($_[0]);
}
and symbolically reference that for every function I need to symb ref, but I'd just like to know if there's a way to do something like
{$foo}(123);
vs.
&{$foo}(123);
which works,…

Blaise Roth
- 191
- 1
- 7
1
vote
3 answers
How can I use the value of a variable as a variable name in Perl?
If I have a variable, $bar, which is equal to string "foo" and $foo is equal to 0xdead, how can I get $foo's value while I only have the the string for the variable name?
Essentially, I want to do a kind of pointer indirection on the global…

Ross Rogers
- 23,523
- 27
- 108
- 164
1
vote
2 answers
How can I use a variable's value as a Perl variable name?
Sorry about all these silly questions, I've been thrust into Perl programming and I'm finding it really hard to think like a Perl programmer.
Silly question for today:
I load a pipe delimited file into a hash using the id field as the key, like…

Sparkles
- 13
- 3
0
votes
1 answer
Symlink source + Netbeans
I prefer not to use Netbeans when I write Java code for a project,
but Netbeans is perfect for refactoring, and works nicely with svn.
The project is open-source on sourceforge, so I do not want to push other people into using Netbeans. My idea is…

Per Alexandersson
- 2,443
- 1
- 22
- 28
0
votes
1 answer
What character encoding is used in Git symbolic refs (especially on Windows)?
This is a really quick question: what is the character encoding used in symbolic ref files like .git/HEAD, especially on Windows?
Is it the same as the filesystem's encoding? It sounds improbable, though, since I've heard before that Windows'…

gksato
- 368
- 1
- 10
0
votes
2 answers
Scope in SAS macro language. SAS not finding global variable defined in a macro. "WARNING: Apparent symbolic reference not resolved."
The goal
I have a macro called localOrGlobal that takes input and creates output. The output is printed to the log during the macro call. However, I want the user to be able to specify if the output should be made available as a global variable by…

Jayden.Cameron
- 499
- 4
- 17
0
votes
2 answers
git symbolic-ref storage at central repo level
Idea is to have dev_release_branch all time acting just as alias to latest release branch of that environment ( dev in this eg ).
And to have new branch created post every release by some convention & to update symb ref every time post completion of…

r.avv85
- 77
- 1
- 7