This is a live mirror of the Perl 5 development currently hosted at
https://github.com/perl/perl5
https://perl5.git.perl.org
/
perl5.git
/ blame
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
blob
|
blame
(incremental) |
history
|
HEAD
perlapi: Place in dictionary sort order
[perl5.git]
/
lib
/
perl5db
/
t
/
lvalue-bug
Commit
Line
Data
6fd69bbe
FR
1
#!/usr/bin/perl
2
#
3
# This code is used by lib/perl5db.t !!!
4
#
5
6
my $i;
7
sub foo () : lvalue { $i }
8
foo = 1;
9
print defined foo ? "foo is defined" : "foo is still undef", "\n";