Geez, ask for a little help, and you get an encyclopedia ;-)
Lots to chew on. Thanks Mike, Howard, Leo, and Martin.
for the lessons.
I did open a cmd prompt as administrator, and invoked
ttree. This time when I told him to create the .ttreerc file,
he dutifully did so at c:\, so I can now contin
Dennis Daupert [ddaup...@csc.com] wrote:
> > Run the script or cmd as admin (right click on the command icon,
> > select run as admin) would probably help
>
> This is a Perl script, configure.pl, no command icon to click on.
> Is there another way I can run it as admin?
>
> best,
>
> /dennis
M
estate.com
[mailto:perl-win32-users-boun...@listserv.activestate.com] On Behalf Of
Dennis Daupert
Sent: Wednesday, July 11, 2012 1:48 PM
To: leosusa...@gmail.com
Cc: perl Win32-users
Subject: Re: Template Toolkit on Windows 7
> Run the script or cmd as admin (right click on the command icon,
> sele
> Run the script or cmd as admin (right click on the command icon,
> select run as admin) would probably help
This is a Perl script, configure.pl, no command icon to click on.
Is there another way I can run it as admin?
best,
/dennis
Upcoming time off: none planned
---
:44
To: perl Win32-users
Subject: Template Toolkit on Windows 7
___
Perl-Win32-Users mailing list
Perl-Win32-Users@listserv.ActiveState.com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
___
Perl
I've coded mostly on *nix machines, so hadn't run into this one before.
On Windows 7, when invoking code that uses Template (for the first time),
when ttree tries to create his .ttreerc file the OS will not let him do
so. I tried
creating an empty file of that name, thinking tha
refer to
Win32::NetAdmin Module..
-Nikhil
-Original Message-From:
[EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]On Behalf Of
Mungamuru, Sasi Kiran KumarSent: Thursday, February 24, 2005
4:32 PMTo:
perl-win32-users@listserv.ActiveState.comSubject: Template to
remove
Good Evening all,
Could you please pass out a
template in perl for to remove local admin privileges for existing users in
windows NT environment.
Thanks,
~Sasi
___
Perl-Win32-Users mailing list
Perl-Win32-Users
On Mon, 12 Apr 2004, Barry wrote:
> Hi,
>
> I'm trying to install : Apache-Template-0.08 but cannot
> get beyond the following message...
>
> Error: Package 'libapreq' not found on server. Please 'search' for it first.
[ .. ]
> Windows XP
> Acti
Hi,
I'm trying to install : Apache-Template-0.08 but cannot get beyond the
following message...
Error: Package 'libapreq' not found on server. Please 'search' for it first.
When I do so :
===
ppm> quer
Yes, I have thought of that, too, but how do you do that? Say I have
%hash. What is the syntax, the code, for passing that hash to
$template->param? Could you type out an example?
I know this sounds stupid, but I can pass new keys and values to a hash
just by typing $hash{price'} = &
> OK, HTML::Template has you create a hash whose values are used by a
> template. Construction is like this:
> $template->param(
> HOME => $ENV{HOME},
> PATH => $ENV{PATH}"
> );
> Dumb question, but how to
Could someone help me understand how something can be done with hashes and
HTML::Template. I am struggling to understand modules and object-oriented
programming in perl.
OK, HTML::Template has you create a hash whose values are used by a
template. Construction is like this:
$template->pa
"Kevin" <[EMAIL PROTECTED]> wrote:
> I am trying to send mail using Mail::Sender and have been unsuccessful. I am
> using HTML::Template object to hold the mail template .
>
> my $thtml = $self->load_tmpl($config->get_base_template_path .
> $
Hello,
I am trying to send mail using Mail::Sender and have been unsuccessful. I am
using HTML::Template object to hold the mail template .
my $thtml = $self->load_tmpl($config->get_base_template_path .
$config->get_MAIL_order_confirm_client, die_on_bad_params => 0);
my $sende
Charles Pelkey wrote:
> $_ =~ s/{(.*?)}/${$1}/g; # Find variables in the form of
> {var_name} and replace with $var_name
Eek -- symbolic references.
> Does anyone have an idea of how to fix this???
Use a hash :)
s/\{([^}]*)\}/$var{$1}/g;
Should replace {Full_Name} with $var{'Full_Nam
Hi,
I'm doing some page generation. In that page would be some (HTML) SELECT
fields, whose contents would be pulled from database.
I've decided to use Template module and to make whole job as elegant as it
can be.
The table from which the data is pulled looks something like this
TABLE
Carl Jolley wrote:
>
> It's not entirely clear to me but do you mean that the braces
> are included in the data that you are trying to match? If yes,
> yoy will have to quote the braces in your regex since braces
> are regex meta characters e.g.
>
> $contents =~ s/\{(\w+)\}/$1/g;
I don't think
$Full_Name = param('Full_Name');
> $E_Mail = param('E_Mail');
>
> open (TMPL, "/path/to/template.txt") || die "Could not open template
> file: $!\n";
> while () {
> chop;
> $contents .= $_;
> }
>
7;);
open (TMPL, "/path/to/template.txt") || die "Could not open template
file: $!\n";
while () {
chop;
$contents .= $_;
}
close TMPL;
$contents =~ s/{(\w+)}/$1/g; # replace {variable_name} with value of
variable
print "$contents"
20 matches
Mail list logo