Michael,
I did see and try what is in the fifth post... a week ago. It didn't work for me. here's what I did:
I found the following in TOOLS.pm:
$GLOBALS = {};
foreach my $code ($IN->param()) {
next unless ($code =~ /^save-(.*)/);
my $key = $1;
next if ($IN->param("del-$key"));
my $var = $IN->param($code);
$var =~ s/\r?\n/\n/g; # Remove windows linefeeds.
$GLOBALS->{$key} = $var;
}
if ($IN->param('new') and $IN->param('new-val')) {
my $var = $IN->param('new-val');
$var =~ s/\r?\n/\n/g;
$GLOBALS->{$IN->param('new')} = $var;
and replaced it with:
# $GLOBALS = {};
foreach my $code ($IN->param()) {
next unless ($code =~ /^save-(.*)/);
my $key = $1;
next if ($IN->param("del-$key"));
my $var = $IN->param($code);
$var =~ s/\r?\n/\n/g; # Remove windows linefeeds.
# $GLOBALS->{$key} = $var;
$globals->{$key} = $var;
}
if ($IN->param('new') and $IN->param('new-val')) {
my $var = $IN->param('new-val');
$var =~ s/\r?\n/\n/g;
# $GLOBALS->{$IN->param('new')} = $var;
$globals->{$IN->param('new')} = $var;
Is this what I was supposed to do? I still have
nothing at all in my /local directory.
I still cannot edit my gloabls.
I did see and try what is in the fifth post... a week ago. It didn't work for me. here's what I did:
I found the following in TOOLS.pm:
$GLOBALS = {};
foreach my $code ($IN->param()) {
next unless ($code =~ /^save-(.*)/);
my $key = $1;
next if ($IN->param("del-$key"));
my $var = $IN->param($code);
$var =~ s/\r?\n/\n/g; # Remove windows linefeeds.
$GLOBALS->{$key} = $var;
}
if ($IN->param('new') and $IN->param('new-val')) {
my $var = $IN->param('new-val');
$var =~ s/\r?\n/\n/g;
$GLOBALS->{$IN->param('new')} = $var;
and replaced it with:
# $GLOBALS = {};
foreach my $code ($IN->param()) {
next unless ($code =~ /^save-(.*)/);
my $key = $1;
next if ($IN->param("del-$key"));
my $var = $IN->param($code);
$var =~ s/\r?\n/\n/g; # Remove windows linefeeds.
# $GLOBALS->{$key} = $var;
$globals->{$key} = $var;
}
if ($IN->param('new') and $IN->param('new-val')) {
my $var = $IN->param('new-val');
$var =~ s/\r?\n/\n/g;
# $GLOBALS->{$IN->param('new')} = $var;
$globals->{$IN->param('new')} = $var;
Is this what I was supposed to do? I still have
nothing at all in my /local directory.
I still cannot edit my gloabls.