Hi , I have made a Gui which read in a file to give some informations in some
Entry boxes and it works fine but now I would like to refresh this information
when this file is modified I would like to modified the entry boxes too.
How can I do this?
$FILE='c:\\CYGWIN_SYSLOG.txt';
open
small question: how can i make a filehandle to print to two different
locations?
what i want to to is that somthing like ...
open LOG, logfile.txt;
print LOG Session started;
...prints to both the logfile and STDOUT in case the the script is
called in
verbose mode. i know i
Tried to change teh extension Just displayed everything in the file,
including the code prior to print functions.
On Mon, 2 Jul 2001, Tom Heady wrote:
as stated previously look in the ActivePerl-WinFaq6
it should be in the Perl\html\faq\Windows directory
short answer:
change the
You can't just change the extension without changing the extension map in
the Internet Service Manager too. Right click on the web site you need to
edit. Under the Home Directory tab, select Configuration, Add the extension
and properties for the .cgi file. You should already have a .pl and
hi,
don't know whether it works for you, but i have a listbox widget which i use
as a kind of log display in my TK window, and every time a new entry is
added i call the raise method so the entry comes into effect immediatley ...
sub logupd {
my $msg = shift;
In fact I try with the method raise but it didn't work, what I want is when I
modifie my file ,it modifie dynamically my entries box , because now I must
close and open my gui to see modifications to my Entryboxes,How can I update
dynamically my EntryBoxes when my file is modified?
Thanks
I'm using Win2K sp1 ActiveState ActivePerl Build 626 network install.
I've run into a situation where I try to use File::Copy, a system call
to copy, and a system call to mv on this source file name
spexp-n0123.log--7-3-2001 (28K file)
To this destination name
You may be running into a limit for file extension names rather than
basenames. Win32 will allow multiple periods in a file name. Can you try
appending .18_33_24 rather than _18_33_24?
Merrill
-Original Message-
From: Jamison, Shawn [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, July 03,
You may want to check out the mailing list on the AI subject as well..
http://aspn.activestate.com/ASPN/Mail/Browse/Threaded/perl-AI
Adam
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of
Toby Stuart
Sent: Tuesday, July 03, 2001 12:46 AM
To:
Hi, is anyone had worked around updating Gui Entry Box with Perl Tk?
Thanks.
___
Perl-Win32-Users mailing list
[EMAIL PROTECTED]
http://listserv.ActiveState.com/mailman/listinfo/perl-win32-users
I have an external program that I access with the back
tick operator (`program.exe`) -it works fine, but I do
not know how to send it certain parameters through
stdin after it executes. For example what I really
want to do is to execute the program, and then send it
some data through stdin.
Adam,
There's a couple of problems with your code. The following code works:
$name = World;
print Content-type: text/html\n\n;
print EOT;
htmlbody
b Hello $name !/b
/bodyhtml
EOT
Notice, there is no in the print Content. Also, the print EOT;
ends in a ;. Also, the final EOT does not
I'm not sure 'why' you are using an entry in the first place? It sounds as
if you only want to show the user the last line of a file (but not
necessarily let them edit the entry - is that correct?). If that is indeed
the case, then consider using a Label with -textvariable.
If you still want to
I'm writing a large tool that includes parsing of html templates. My
parser looks for $$\w$$ strings in the html file and substitutes them
for a corresponding string passed to the parser in a hash reference. It
is called like this:
#With ActiveWindow.Selection.ShapeRange
#.Fill.Visible = msoTrue
#.Fill.ForeColor.RGB = RGB(255, 124, 128)
#.Fill.BackColor.RGB = RGB(102, 255, 102)
#.Fill.TwoColorGradient msoGradientDiagonalDown, 1
#End With
I can get this working in Perl but don't know
Assuming this line is typical, here is a script which gives a couple of ways
to approach the regex:
$text = 'LOG_INFO : cpcdos22.col.bsf.alcatel.fr: read request for
/bootp/cygwin.bat: success.';
print $1 \n if $text =~ /\/(.+):/;
print $1 \n if $text =~ /\/([^\/]+):/;
Which outputs:
At 06/29/2001 09:23 AM, Satish Vadlamani wrote:
From wihtin a perl script, I want to kickoff another perl script
asynchronously on another machine. I want to open another window on that
machine (winNT, 2000). How do I do that. Appreciate it.
Check out psexec from SysInternals - this
Thanks, excellent point. I slip and tend to think of the = operator as
a sort of assignment. Appreciate your help.
david
Shea, Linchi wrote:
I don't think it would force a scalar context. = is just a shorthand for comma in a
list. In other words, $b in the following three code segments
Syed Anwaruddin [EMAIL PROTECTED] writes:
Yes. On my HTML Page I have a Begin Download Button.Once I click this Files
get zipped and I get Save As (x-zzip-compressed Application) Dialog Box. In
the Selection field of the Dialog box I get my Perl Script as default. I
want my my zip file in
Ok, just to prove to one and all that I am a newbie at Perl programming:
The Require statement. (i.e., require(mylib.pl);)
In linux it automatically looks in the current directory. However, with
windows, it looks to C:/Perl/lib or C:/Perl/site/lib .
I tried putting the pl file into those
Ron Grabowski wrote, on Tuesday, July 03, 2001 1:26 PM
: I don't think it would force a scalar context. = is just a shorthand
: for comma in a list. In other words, $b in the following three
: code segments
: would get the same results:
:
: A comma that adds single quotes the value to its
In linux it automatically looks in the current directory. However, with
windows, it looks to C:/Perl/lib or C:/Perl/site/lib .
All versions of Perl look in the global array @INC to see which directories
to look for files:
perl -v
Characteristics of this binary (from libperl):
Locally
22 matches
Mail list logo