HTML::Templates

2005-06-28 Thread Rajesh Raghammudi
Hi I am using HTML::Templating system for my project and the requirement is, URL given at the address bar should not be changed throughout the application, I could able to achieve this and works fine for me (I have a login page and users have to login to access the application). The problem I

Re: HTML::Templates

2005-06-28 Thread David Dorward
On Tue, Jun 28, 2005 at 08:21:02PM +0530, Rajesh Raghammudi wrote: I am using HTML::Templating system for my project and the requirement is, URL given at the address bar should not be changed throughout the application Yuck. The web is not designed to work like that. I could able to

Re: HTML::Templates

2005-06-28 Thread Ovid
--- Rajesh Raghammudi [EMAIL PROTECTED] wrote: I am using HTML::Templating system for my project and the requirement is, URL given at the address bar should not be changed throughout the application, I could able to achieve this and works fine for me (I have a login page and users have to

Re: HTML::Templates

2005-06-28 Thread Chris Devers
On Tue, 28 Jun 2005, David Dorward wrote: On Tue, Jun 28, 2005 at 08:21:02PM +0530, Rajesh Raghammudi wrote: I am using HTML::Templating system for my project and the requirement is, URL given at the address bar should not be changed throughout the application Yuck. The web is not

Re: HTML::Templates

2005-06-28 Thread Bill Stephenson
On Jun 28, 2005, at 12:40 PM, Chris Devers wrote: No, but it can be done trivially in software. $ lynx -dump -source http://devers.homeip.net:8080/frametest.html html head titleFrametest/title /head body frameset cols=100% rows=100% frame

Re: perl and gnuplot

2005-06-28 Thread Gary Parker
zentara zentara at highstream.net writes: Why don't you try writing the gnuplot output to a temporary file, and send that file, then delete it. That way you can get it to work for sure. I still haven't figured out the problem with the plus symbols. However, I did find a way around the problem

perl message passing module

2005-06-28 Thread Manish Sapariya
Hi List, Am looking for some messaging module, using which I can pass message between, perl programs. Looked at search CPAN, and found ebXML. Any comments on ebXML, or any other messaging module will be of great help. Thanks, Manish -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

Re: deleting ldap users question

2005-06-28 Thread Graeme McLaren
Morning all, I have made changes to that ldap script and when I tried to delete a user I got subtree delete not supported. I want to delete everything associated with a user, is there a way that I can delete everything with just the user id ? Cheers for any advice folks. G :) From: Dave

reg exp help

2005-06-28 Thread DBSMITH
Can anyone help me with this match: #!/usr/bin/perl use strict; use warnings; my $talxkeylog =qq(/home/gpghrp/.gnupg/keys/log/talxkeyupd.log); open (FH, +$talxkeylog) or warn unable to open file $talxkeylog $! ; #cURL(); #print $calcdate\n$curtdate; my

Re: Run a subroutine, then replace subroutine and run again

2005-06-28 Thread Dave Gray
On 6/27/05, Wagner, David --- Senior Programmer Analyst --- WGO [EMAIL PROTECTED] wrote: Sorry, but I have two subroutines with the same name which is fine because I have not had a need to use the hashes which these two similar subroutines created. How do I run the

Re: reg exp help

2005-06-28 Thread bright true
Hello, First of all you're opening the file for writing Second i didn't understand what you really want , if you want to print out everything inside the file my $file = 'newfile.txt'; open(FILE,$file); while(FILE){ print $_;} close(FILE); That's it with out matching or anything bye

Re: reg exp help

2005-06-28 Thread DBSMITH
Actually, you are incorrect... The + mean read and write in append mode. Please see the follow up email with the attachment I sent. Derek B. Smith OhioHealth IT UNIX / TSM / EDM Teams 614-566-4145 bright

Re: reg exp help

2005-06-28 Thread Jay Savage
On 6/28/05, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Can anyone help me with this match: [snip] for (;FH;) { if (/^-{5,}(\w+)/ig) { print $_; }

Emptying Arrays

2005-06-28 Thread Ryan Frantz
Perlers, I'm working on a script that iterates over a log file looking for known hosts so that their messages can be grouped in a summary report. However, when I run the script, the array I create includes entries for previous hosts that were found. I thought that I could empty the array at the

Re: reg exp help

2005-06-28 Thread Jeff 'japhy' Pinyan
On Jun 28, [EMAIL PROTECTED] said: for (;FH;) { if (/^-{5,}(\w+)/ig) { print $_; } $lc++; } I want to print everything from BEGIN TO END and right now all I am printing is the begin and end lines. If that's what you want, you should use two regexes with the .. operator: while

Re: reg exp help

2005-06-28 Thread Jay Savage
On 6/28/05, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Actually, you are incorrect... The + mean read and write in append mode. Please see the follow up email with the attachment I sent. Derek B. Smith OhioHealth IT UNIX / TSM / EDM Teams 614-566-4145 While you are correct, please

Re: Emptying Arrays

2005-06-28 Thread Jeff 'japhy' Pinyan
On Jun 28, Ryan Frantz said: I'm working on a script that iterates over a log file looking for known hosts so that their messages can be grouped in a summary report. However, when I run the script, the array I create includes entries for previous hosts that were found. I thought that I could

RE:Wrapper Script

2005-06-28 Thread Larsen, Errin M HMMA/Information Technology Department
Hi Perl folks, No one replied to my posts about a wrapper script. I'm going to try again. I want to be able to process some command-line options, then call/exec a separate command with my processed options, AND pass along the piped input to that command as well. For example, if I have a

Re: reg exp help

2005-06-28 Thread Jeff 'japhy' Pinyan
On Jun 28, [EMAIL PROTECTED] said: but here is another piece of code I tried and this worked as well considering the attachment: comments on the below block? [snip] if (m/begin pgp public key block/ig) { $lc=1; } if ( $lc==1){ print $_; } if (m/end pgp public key block/ig) { $lc=0; }

RE: Emptying Arrays

2005-06-28 Thread Ryan Frantz
for my $host (@hosts) { my %freq; $freq{$_}++ for grep /$host/i, @logfile; # open file for (sort keys %freq) { print $_: $freq{$_}\n; } # close file } Voila. I noticed that you use the default '$_'; as a matter of style/programming, what

RE: Wrapper Script

2005-06-28 Thread Ryan Frantz
exec '/bin/original-print-something', @processed_args or die Couldn't exec /bin/original-print-something: $!; My problems come when I get a command-line like this: # cat /etc/hosts | /bin/print-something -a -b some-option -c someother-option In this case, my LOG file will

Local and global variables

2005-06-28 Thread Andrew Black
Can someone explain the difference between use vars qw/$defined_by_vars/ ; our $defined_by_our ; $not_explicily_defined = 1 ; Are these all global to the package they are defined it. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: RE:Wrapper Script

2005-06-28 Thread mgoland
- Original Message - From: Larsen, Errin M HMMA/Information Technology Department [EMAIL PROTECTED] Date: Tuesday, June 28, 2005 11:25 am Subject: RE:Wrapper Script Hi Perl folks, Hello Errin No one replied to my posts about a wrapper script. I'm going to try again. I want

RE: Run a subroutine, then replace subroutine and run again

2005-06-28 Thread Wagner, David --- Senior Programmer Analyst --- WGO
Jeff 'japhy' Pinyan wrote: On Jun 27, Wagner, David --- Senior Programmer Analyst --- WGO said: Sorry, but I have two subroutines with the same name which is fine because I have not had a need to use the hashes which these two similar subroutines created. How do I run the subroutine and

Re: perl message passing module

2005-06-28 Thread Wiggins d'Anconia
Manish Sapariya wrote: Hi List, Am looking for some messaging module, using which I can pass message between, perl programs. Looked at search CPAN, and found ebXML. Any comments on ebXML, or any other messaging module will be of great help. Thanks, Manish Messaging how? This sounds

Re: reg exp help

2005-06-28 Thread Jay Savage
On 6/28/05, Jeff 'japhy' Pinyan [EMAIL PROTECTED] wrote: On Jun 28, [EMAIL PROTECTED] said: but here is another piece of code I tried and this worked as well considering the attachment: comments on the below block? [snip] if (m/begin pgp public key block/ig) { $lc=1; } if (

Re: reg exp help

2005-06-28 Thread Jay Savage
On 6/28/05, Jay Savage [EMAIL PROTECTED] wrote: On 6/28/05, Jeff 'japhy' Pinyan [EMAIL PROTECTED] wrote: On Jun 28, [EMAIL PROTECTED] said: but here is another piece of code I tried and this worked as well considering the attachment: comments on the below block? [snip] if

Re: Better place for OOPerl questions?

2005-06-28 Thread Jay Savage
On 6/27/05, Scott R. Godin [EMAIL PROTECTED] wrote: Noting that this list is more oriented towards beginner questions/general inquiry, but not having found a perl.org list more geared towards advanced and/or OOPerl questions, I'm wondering: A whether starting a perl.org oop list makes any

Re: Better place for OOPerl questions?

2005-06-28 Thread Wiggins d'Anconia
Scott R. Godin wrote: Noting that this list is more oriented towards beginner questions/general inquiry, but not having found a perl.org list more geared towards advanced and/or OOPerl questions, I'm wondering: A whether starting a perl.org oop list makes any sense? It might, but it might

RE: Run a subroutine, then replace subroutine and run again

2005-06-28 Thread Wagner, David --- Senior Programmer Analyst --- WGO
Dave Gray wrote: On 6/27/05, Wagner, David --- Senior Programmer Analyst --- WGO [EMAIL PROTECTED] wrote: Sorry, but I have two subroutines with the same name which is fine because I have not had a need to use the hashes which these two similar subroutines created. How do

RE: Run a subroutine, then replace subroutine and run again

2005-06-28 Thread Wagner, David --- Senior Programmer Analyst --- WGO
Wagner, David --- Senior Programmer Analyst --- WGO wrote: Dave Gray wrote: On 6/27/05, Wagner, David --- Senior Programmer Analyst --- WGO [EMAIL PROTECTED] wrote: Sorry, but I have two subroutines with the same name which is fine because I have not had a need to use the hashes which

Decoding Regular Expression

2005-06-28 Thread Shilpa Arvind
Hi, I am having trouble understanding this regular expression. Any help on this is greatly appreciated. open FILE, xyz; while (FILE) { undef($regexp_var); ($regexp_var) = ($_ =~