RE: How to read url with perl

2003-10-04 Thread TN
It's necessary to get the location URL to a place where perl can operate on it. Doing that manually is a pain and should not be necessary since the URL should be in the browser's cache or history. Digging it out of the cache or history is the problem and the solution to that depends on the browse

Re: convert UNIX timestamp

2003-10-04 Thread Jason Normandin
Hi Scott, All How can I reverse this ? ( Convert date/time format to UNIX timestamp ) Thanks! Jason. Hall, Scott wrote: Mickalo, perldoc -f localtime perldoc -f gmtime perl -e 'print scalar localtime (1064616515), "\n"' Fri Sep 26 18:48:35 2003 Scott -Original Message- From: M

Re: Sort Text File

2003-10-04 Thread Randal L. Schwartz
> "John" == John W Krahn <[EMAIL PROTECTED]> writes: John> Are you sure you want to modify /etc/passwd? Which field do you John> want to sort on? And if you want to modify /etc/passwd, you should be using vipw, because vipw will lock the file for you, and verify some sanity checks the update

Re: convert UNIX timestamp

2003-10-04 Thread Randal L. Schwartz
> "Jason" == Jason Normandin <[EMAIL PROTECTED]> writes: Jason> How can I reverse this ? ( Convert date/time format to UNIX timestamp ) There's a myriad of ways. Visit search.cpan.org and type "date" or "time". The most flexible is probably Date::Manip, which can convert "third friday in ma

pretty printer

2003-10-04 Thread Reinhold Riedersberger
Hello, I'm searching for a prettyprinter for perl, html, php. If possible written with php or perl. Any help...? -- Regards Reinhold -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Pattern Matching Operators

2003-10-04 Thread Prasad Karpur
Is there a similar operator in Perl for ${variable##pattern} as there is in korn shell. Thanks for the help. Prasad __ McAfee VirusScan Online from the Netscape Network. Comprehensive protection for your entire computer. Get your

Re: pretty printer

2003-10-04 Thread David Wall
--On Saturday, October 04, 2003 5:31 PM +0200 Reinhold Riedersberger <[EMAIL PROTECTED]> wrote: I'm searching for a prettyprinter for perl, html, php. If possible written with php or perl. Any help...? http://perltidy.sourceforge.net/ -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additi

RE: pretty printer

2003-10-04 Thread TN
http://search.cpan.org/~teun/Beautifier-0.04/Beautifier.pm For perl, but "WARNING: A working program might no longer work after Beautifier did her thing on it" There are a number of html formatters on cpan. -tristram -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail

Re: instance variables?

2003-10-04 Thread R. Joseph Newton
Kevin Pfeiffer wrote: > ... (though I'm > getting tired of typing "my $self = shift;"). ;-) > > -K Then copy it. I very rarely type such lines more than once in a module. Thereafter I just pull the line from another method body. It is critical, though, since this is the line that ties the acti

Psh

2003-10-04 Thread Jerry Rocteur
Hi, I started to read "Perl Objects References & Modules" and I thought, I better upgrade my Perl modules to make sure I've got the latest in case the book uses something that I may have that is outdated, so I fired up cpan and ran r for reinstall recommendations and updated my modules.. BT

RE: Psh

2003-10-04 Thread TN
Thanks for the info. The psh perl shell may be great for learning perl. I'll try it. Personally, I have been using ksh, when possible and except on Linux, for my interactive shell ever since AT&T released the sources. On Linux, bash is the natural shell for me, and it's mostly a superset of ksh.

Re: easiest `cat` in perl

2003-10-04 Thread Bryan Harris
>> And what is the "T" in -Tw? That doesn't appear to show up in the man >> page... > > T means tainted. It's what you want to run on all code in your cgi-bin > directory so that a hacker can't r00t your box. Basically it prevents > your perl script from doing anything dumb. > > Out of curiou

a big problem

2003-10-04 Thread Timothy J Zanor
I am new to CGI/PERL and have a problem that was dropped in my lap the below script was made to show a picture in an htlm page that is called when you click on the href on the past html page it was working but not all the time now it is not working at all. I have gone through it several times and s