Re: Does perl v5.8.9 supports Ubuntu 64 bit?

2018-02-26 Thread jose cabrera
On Monday, February 26, 2018 at 9:31 AM, "Jostein Berntsen" wrote... > > Have you tested with an original Ubuntu package for v.5.8? > > https://launchpad.net/ubuntu/+source/perl/5.8.8-12ubuntu0.8 > Didn't know it was available. Let me try that. Thanks. josé -- What if eternity is real? Wh

Re: Help debugging some old Bugzilla perl scripts

2018-02-26 Thread jose cabrera
On Monday, February 26, 2018 at 4:50 AM, Shlomi Fish" wrote... > Hi jose, > > please see http://www.shlomifish.org/Files/files/code/bugzilla.patch for my > patch against bugzilla 3.2 to get it to compile with recent perls. Thanks. josé -- What if eternity is real? Where

Re: Does perl v5.8.9 supports Ubuntu 64 bit?

2018-02-26 Thread jose cabrera
On Monday, February 26, 2018 at 4:26 AM, "Shlomi Fish" wrote... > Hi jose, Hi. > were the only failing tests in op/numconvert? If so, it does not seem serious. > and you can use --force or --notest. That put aside, this is an old version of > perl with many known bugs t

Does perl v5.8.9 supports Ubuntu 64 bit?

2018-02-25 Thread jose cabrera
Greetings! I just installed perlbrew and I tried installing perl v5.8.9 to prevent trying to fix a bunch of v5.8.9 perl code, but it failed. The first thing that came to mind was x64 vs x32. Can this perl version v5.8.9 be installed on an Ubuntu x64 bit? Thansk. josé -- What if eternity i

Re: Help debugging some old Bugzilla perl scripts

2018-02-25 Thread jose cabrera
On Sunday, February 25, 2018 at 11:48 PM, "Uri Guttman" wrote... > >>> Here is line 1085: > >>> foreach my $type qw(dependson blocked) { > >>> my @bug_ids = split(/[\s,]+/, $deps_in{$type}); > >> put parens around the qw(). it used to be allowed as the () in the for > >> loop but no

Re: Help debugging some old Bugzilla perl scripts

2018-02-25 Thread jose cabrera
On Sunday, February 25, 2018 at 11:26 PM, "Uri Guttman" wrote... > > > > > > syntax error at Bugzilla/Bug.pm line 1085, near "$type qw(dependson > > blocked)" > > > > Here is line 1085: > > foreach my $type qw(dependson blocked) { > > my @bug

Help debugging some old Bugzilla perl scripts

2018-02-25 Thread jose cabrera
Greetings! Long story, I had to install Bugzilla v3.2, which was in a WinNT 4. I have now installed Bugzilla v3.2, in the Ubuntu 14.04 server, but I have perl (v5.22.1) and I am getting lots of errors. Once I learn to fix one of these, I can work with the others. ===

Can't use 'defined(@array)'

2018-02-23 Thread jose cabrera
Greetings! I am using perl v5.22.1, and I am debugging an old script. The code is, if (defined($$glob)) { $localconfig{$var} = $$glob; } elsif (defined (@$glob)) { $localconfig{$var} = \@$glob; } elsif (

How to run a perl script in background on Windows?

2011-08-03 Thread Jose Marquez
Hi there   Sure I am the newbiest of all Perl newbies in this group   Just have been reading some of the posts you all have sent since I subscribe to this list    What I'm trying to learn these days is how I run a Perl script in background on Windows. Can anybody give a hint on it?   Appreci

Re: map behaviour

2008-09-23 Thread Jose Perez
> > > my @virtual_disks = sort map { /Virtual Disk:\s(\S+)/ } `$SSCS_CMD > > list -a > > $storage vdisk`; > > > > my question is, WHY IS THIS WORKING? My first idea was to use this > > command > > instead: > > > > my @virtual_disks = sort map { s/Virtual Disk:\s(\S+)/$1/ } `$SSCS_CMD > > list > > -

map behaviour

2008-09-23 Thread Jose Perez
Hi! I've been using Perl for awhile but I still have some doubts :) hopefully you will help me to clarify some concepts :) In particular, I have the following situation: I have an external command that returns the following: Virtual Disk: 1 Virtual Disk: 6 Virtual Disk: 8 Virtual Disk: 7 Virtual

RE: Open source IDE for Perl

2005-11-30 Thread Cintron, Jose J.
Try Open Perl IDE http://open-perl-ide.sourceforge.net/ +-- | José J. Cintrón +-- > -Original Message- > > which is yours "best" open source IDE for Perl. I use SciTE under > > Linux, but I'm a little confu

RE: From column to row?

2005-11-28 Thread Cintron, Jose J.
Here's a fixed version, not much though into it, you can figure out how to remove the trailing , $source_file = "input.txt"; $result_file = "output.txt"; open (SOURCE, $source_file) || die "cannot open $source_file: $!"; open (RESULT, ">$result_file") || die "cannot open $result_file: $!"; whil

RE: Replacing a Bracketed String with "N"

2005-11-22 Thread Cintron, Jose J.
Try this one... $str = "AABBE[TH]AODD[AAAB]AQA"; $str =~ s/\[[A-Z]*\]/N/g; print "$str\n\n"; +-- | José J. Cintrón - <[EMAIL PROTECTED]> +-- > -Original Message- > From: Edward Wijaya [mailto:[EMAIL PROTECT

RE: Need permissions to rename file on Windows XP

2005-11-11 Thread Cintron, Jose J.
; Sent: Friday, November 11, 2005 10:14 > To: Cintron, Jose J.; "kathyjjja"; beginners@perl.org > Subject: RE: Need permissions to rename file on Windows XP > > Thank you for replying. It is a log file that I can write to > from both Perl and VB.NET. But for some reason, I am

RE: Need permissions to rename file on Windows XP

2005-11-11 Thread Cintron, Jose J.
Do you have permissions to modify this file. If you don't there's not much you can do. +-- | José J. Cintrón +-- > -Original Message- > From: kathyjjja [mailto:[EMAIL PROTECTED] > Sent: Friday, November 1

RE : LLama and camels books

2005-10-13 Thread Jose Nyimi
> -Message d'origine- > De : Dion Markus [mailto:[EMAIL PROTECTED] > Envoyé : jeudi 13 octobre 2005 23:09 > À : beginners@perl.org > Objet : LLama and camels books > > > Hi all I am totaly new to Perl and programming. > I am Dion Markus from the netherlands and i would like to > learn

RE : Is it possible to force a particular order in a hash?

2005-09-22 Thread Jose Nyimi
> -Message d'origine- > De : John W. Krahn [mailto:[EMAIL PROTECTED] > Envoyé : jeudi 22 septembre 2005 23:26 > À : Perl Beginners > Objet : Re: Is it possible to force a particular order in a hash? > > > Dave Adams wrote: > > I have a hash that I need to use later and display some val

RE: Extracting data from the Properties tab of a jpeg

2005-09-06 Thread Cintron,Jose J.
You may want to take a look at the Image::Info module (http://search.cpan.org/~gaas/Image-Info-1.16/lib/Image/Info.pm) +-- | José J. Cintrón - <[EMAIL PROTECTED]> +-- -Original Message- From: Daniel Smith [m

RE: encrypt the password stored in a file

2005-08-30 Thread Cintron,Jose J.
If it's just a demo, do a quick and dirty encryption yourself, for example - xor the password before storing it and xor it again before using it. my $string = "password"; my $encrypted_string = ~$string; -Original Mess

Multi Line Pattern Matching

2005-08-25 Thread Jose Malacara
urping the file contents into a single variable? Is there a (better) mechanism to continue matching against the string if its matched once? Any help would be greatly appreciated! Thank you, Jose -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http:

RE : Forcing array context

2005-08-20 Thread Jose Nyimi
Try this: echo hello: world | perl -lne '$aref = [ split(/:/, $_) ]; print $aref' [] synthax gives a ref to the array returned by split() HTH, José. -Message d'origine- De : Binish A R [mailto:[EMAIL PROTECTED] Envoyé : samedi 20 août 2005 17:15 À : Perl Beginners Objet : Forcing array

Catalyst movies!

2005-07-15 Thread Jose Nyimi
Hi, Maybe you are interested as well ;) Rgds, José. -Message d'origine- De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] De la part de Sebastian Riedel Envoyé : vendredi 15 juillet 2005 17:42 À : [EMAIL PROTECTED] Cc : mason-Users; templates@template-toolkit.org; cgiapp@lists.erlbaum.ne

RE : route STDOUT to file

2005-06-25 Thread Jose Nyimi
> -Message d'origine- > De : [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] De la part de zentara > Envoyé : samedi 25 juin 2005 13:36 > À : beginners@perl.org > Objet : Re: route STDOUT to file > > > There are a whole bunch of different ways, ... > Here yet another one ;) #!/usr/bin

RE : what is the MVC all about

2005-06-14 Thread Jose Nyimi
> -Message d'origine- > De : Ramprasad A Padmanabhan [mailto:[EMAIL PROTECTED] > Envoyé : mardi 14 juin 2005 16:39 > À : beginners@perl.org > Objet : what is the MVC all about > > > hi, >I have been lately reading a lot of stuff about perl > catalyst with MVC I am still not clear

RE : basic class problem

2005-04-24 Thread Jose Nyimi
> -Message d'origine- > De : Graeme McLaren [mailto:[EMAIL PROTECTED] > Envoyé : dimanche 24 avril 2005 19:01 > À : beginners@perl.org > Objet : basic class problem > > > Hi all I'm trying to write a basic class that will contain some > configuration details, unfortunately it bombs ou

RE : Anyone using AJAX

2005-04-15 Thread Jose Nyimi
> -Message d'origine- > De : Ramprasad A Padmanabhan [mailto:[EMAIL PROTECTED] > Envoyé : vendredi 15 avril 2005 08:32 > À : perl beginners > Objet : Anyone using AJAX > > > Hi, > I am trying to learn using Ajax instead of form-oriented > perl-cgi. ( fascinated with gmail :-) ) I h

RE : Capturing the integer return value of a "C" program, called inside perl script

2005-04-10 Thread Jose Nyimi
> -Message d'origine- > De : Ambikesh Chaurasia [mailto:[EMAIL PROTECTED] > Envoyé : dimanche 10 avril 2005 18:30 > À : perl > Objet : Capturing the integer return value of a "C" program, > called inside perl script > > > Hi Guys, > > I want to capture the return value of a "C" progr

Re: sub declarations

2005-04-09 Thread Jose Nyimi
Manish Sapariya a écrit : Thanks fxn, This certainly should help. List, Is there a search tool which can give me perldoc pages given a string. Try http://www.perldoc.com or http://www.perlpod.com BR, José. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTE

RE : trying to create my first exe with pp

2005-04-09 Thread Jose Nyimi
> -Message d'origine- > De : Matthew Ryan [mailto:[EMAIL PROTECTED] > Envoyé : samedi 9 avril 2005 01:19 > À : beginners@perl.org > Objet : trying to create my first exe with pp > > > I am trying to use pp to create an exe file. I have installed > PAR with ppm and installed ScanDeps.p

RE : simple server app

2005-03-29 Thread Jose Nyimi
> -Message d'origine- > De : Peter Rabbitson [mailto:[EMAIL PROTECTED] > Envoyé : mardi 29 mars 2005 12:05 > À : beginners@perl.org > Objet : simple server app > > Hi everyone, Here is my situation. I have a windows system which > continuosly > runs a perl script, which utilizing Win32::

RE : simple server app

2005-03-29 Thread Jose Nyimi
> -Message d'origine- > De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Envoyé : mardi 29 mars 2005 16:48 > À : Peter Rabbitson > Cc : beginners@perl.org > Objet : Re: simple server app > > > > - Original Message - > From: Peter Rabbitson <[EMAIL PROTECTED]> > Date: Tuesday,

RE : Problems matching or parsing with delimiters in text

2005-03-28 Thread Jose Nyimi
> -Message d'origine- > De : KEVIN ZEMBOWER [mailto:[EMAIL PROTECTED] > Envoyé : lundi 28 mars 2005 18:13 > À : beginners@perl.org > Objet : Problems matching or parsing with delimiters in text > > I'm trying to read in text lines from a file that look like this: > "B-B01","Eng","Binder

RE : build perl modules

2005-03-16 Thread Jose Nyimi
> -Message d'origine- > De : Charles K. Clarkson [mailto:[EMAIL PROTECTED] > Envoyé : mercredi 16 mars 2005 19:27 > À : beginners@perl.org > Objet : RE: build perl modules > > What you are describing is called "exporting" (or "importing" -- > depending on how you look at it.). There

RE : RE : Design Plugin System

2005-03-12 Thread Jose Nyimi
> -Message d'origine- > De : Jose Nyimi [mailto:[EMAIL PROTECTED] > Envoyé : jeudi 10 mars 2005 23:03 > À : 'Santiago Hirschfeld'; beginners@perl.org > Objet : RE : Design Plugin System > > > > > -Message d'origine- >

RE : Design Plugin System

2005-03-10 Thread Jose Nyimi
> -Message d'origine- > De : Santiago Hirschfeld [mailto:[EMAIL PROTECTED] > Envoyé : jeudi 10 mars 2005 21:58 > À : beginners@perl.org > Objet : Design Plugin System > > Hi everyone, > > I'm pretty new to perl and i'm doing a program to organize music, I'd > like to make a plugin syste

RE : RE : Perl program to convert system date to yymmdd

2005-03-03 Thread Jose Nyimi
> -Message d'origine- > De : Nishi Prafull [mailto:[EMAIL PROTECTED] > Envoyé : jeudi 3 mars 2005 23:12 > À : Wagner, David --- Senior Programmer Analyst --- WGO > Cc : Jose Nyimi; beginners@perl.org > Objet : Re: RE : Perl program to convert system dat

RE : Perl program to convert system date to yymmdd

2005-03-03 Thread Jose Nyimi
> -Message d'origine- > De : Wagner, David --- Senior Programmer Analyst --- WGO > [mailto:[EMAIL PROTECTED] > Envoyé : jeudi 3 mars 2005 21:40 > À : Nishi Prafull > Cc : beginners@perl.org > Objet : RE: Perl program to convert system date to yymmdd > > Nishi Prafull wrote: > > On Thu, 3

RE : xml

2005-01-04 Thread Jose Nyimi
> -Message d'origine- > De : Todd W [mailto:[EMAIL PROTECTED] > Envoyé : mardi 4 janvier 2005 18:49 > À : beginners@perl.org > Objet : Re: xml > > > "Brent Clark" <[EMAIL PROTECTED]> wrote in message > news:[EMAIL PROTECTED] > > Hi > > > > I have been trying to get my perl to work with

RE : Copying a hash-of-hashes

2004-12-30 Thread Jose Nyimi
> -Message d'origine- > De : Peter Rabbitson [mailto:[EMAIL PROTECTED] > Envoyé : jeudi 30 décembre 2004 04:58 > À : beginners@perl.org > Objet : Copying a hash-of-hashes > > Hello List, > To explain the problem I am having, I wrote a simple snipet that doesn't > do > anything meaningful

Generate XML Schema from a relational table

2004-12-24 Thread Jose Nyimi
Hello, Input : Oracle table Output : XML Schema document file I’m looking for information (module) on how to do this with Perl. Any idea is welcome. Thanks and Merry Chrismas 2005 ! José.

RE : Is try-catch a better method for handling errors ?

2004-12-04 Thread Jose Nyimi
> -Message d'origine- > De : Jonathan Paton [mailto:[EMAIL PROTECTED] > Envoyé : samedi 4 décembre 2004 20:08 > À : Nilay Puri, Noida; [EMAIL PROTECTED] > Objet : Re: Is try-catch a better method for handling errors ? > > Dear Nilay, > > I strongly recommend using exceptions (what you c

RE : GD Module

2004-11-22 Thread Jose Nyimi
A few secondes search on word "GD" from perl.com gives me the following link: http://www.oreilly.com/openbook/cgi/ch06_03.html HTH, José. > -Message d'origine- > De : Custard, Carol N. [mailto:[EMAIL PROTECTED] > Envoyé : lundi 22 novembre 2004 17:21 > À : [EMAIL PROTECTED] > Objet : GD

RE: why $000 is a valid variable name?

2004-11-18 Thread Jose Alves de Castro
On Thu, 2004-11-18 at 14:27, Larsen, Errin M HMMA/IT wrote: > BUT ... When I removed the "warnings" and "strict", and stopped using > "my", it works: replacing "my" with "our" does the trick too. -- José Alves de Castro <[EMAIL PRO

RE: Append on top

2004-11-15 Thread NYIMI Jose \(BMB\)
> -Original Message- > From: Gary Stainburn [mailto:[EMAIL PROTECTED] > Sent: Monday, November 15, 2004 2:25 PM > To: [EMAIL PROTECTED] > Subject: Re: Append on top > > > On Friday 29 October 2004 10:35 am, Ing. Branislav Gerzo wrote: > > Rajesh Dorairajan [RD], on Thursday, October 28

RE : start http request and move on

2004-11-05 Thread Jose Nyimi
> -Message d'origine- > De : Bob Showalter [mailto:[EMAIL PROTECTED] > Envoyé : vendredi 5 novembre 2004 19:40 > À : 'JupiterHost.Net'; [EMAIL PROTECTED] > Objet : RE: start http request and move on > > JupiterHost.Net wrote: > > Bob Showalter wrote: > ... > > > Use something like the fo

Buidling stable.tar.gz on Unix as non-root

2004-11-05 Thread jose isaias cabrera
Greetings! I am trying to build the latest stable of perl on a sun4 system as a normal user. Has anyone out there built perl as an user of a Unix system? By a user I mean not having root access. I want to build perl in my own directory. I am able to do configure to make and even start the

RE: start http request and move on

2004-11-05 Thread NYIMI Jose \(BMB\)
> -Original Message- > From: JupiterHost.Net [mailto:[EMAIL PROTECTED] > Sent: Wednesday, November 03, 2004 10:23 PM > To: [EMAIL PROTECTED] > Subject: start http request and move on > > > Hey group, > > Not sure how I'd go about doing a url (via LWP probably) but > not wait for it t

Re: why to use 1)use CGI,2)use Strict ,3)use Carp in script

2004-11-04 Thread Jose Alves de Castro
On Thu, 2004-11-04 at 09:31, supriya devburman wrote: > hi Hi > why we r using > 1)use CGI, We only use CGI when we want to use methods from that module (usually on web pages); see `perldoc CGI` for more information on what you can do with it. > 2)use Strict, The correct name is strict. This i

RE: Is that a DB server need to be installed ?

2004-11-04 Thread NYIMI Jose \(BMB\)
> -Original Message- > From: Bee [mailto:[EMAIL PROTECTED] > Sent: Wednesday, November 03, 2004 11:21 PM > To: [EMAIL PROTECTED] > Subject: Is that a DB server need to be installed ? > > > Hi, > > Just start on study about Database programming... Just wonder > is that a real DB serv

RE: Best FREE Perl installation for Windows??

2004-11-03 Thread NYIMI Jose \(BMB\)
> -Original Message- > From: Lone Wolf [mailto:[EMAIL PROTECTED] > Sent: Wednesday, November 03, 2004 3:52 AM > To: [EMAIL PROTECTED] > Subject: Best FREE Perl installation for Windows?? > > > I need to get back to an installed Windows Perl environment. > What's the best free option

RE : Sourcing Configuration files

2004-11-02 Thread Jose Nyimi
> -Message d'origine- > De : Ramprasad A Padmanabhan [mailto:[EMAIL PROTECTED] > Envoyé : mardi 2 novembre 2004 09:44 > À : Gavin Henry > Cc : perl beginners > Objet : Re: Sourcing Configuration files > > On Tue, 2004-11-02 at 13:41, Gavin Henry wrote: > > Hi all, > > > > What is the eas

RE: Append on top

2004-10-29 Thread NYIMI Jose \(BMB\)
> -Original Message- > From: Mandar Rahurkar [mailto:[EMAIL PROTECTED] > Sent: Friday, October 29, 2004 3:18 PM > To: Rajesh Dorairajan; Perl-Beginners ([EMAIL PROTECTED]) > Subject: Re: Append on top > > > read the file. Rewrite ur data into the file followed by > original data. easy

RE: Append on top

2004-10-29 Thread NYIMI Jose \(BMB\)
> -Original Message- > From: Ing. Branislav Gerzo [mailto:[EMAIL PROTECTED] > Sent: Friday, October 29, 2004 11:36 AM > To: [EMAIL PROTECTED] > Subject: Re: Append on top > > > Rajesh Dorairajan [RD], on Thursday, October 28, 2004 at > 18:11 (-0700) thoughtfully wrote the following: >

Re: Accessing 2D array

2004-10-28 Thread Jose Alves de Castro
On Thu, 2004-10-28 at 10:19, Khairul Azmi wrote: > I've been trying to solve this problem using many techniques I found > on the websites but still unsuccessfully Hi. I don't have much time, so I probably won't be able to explain this right now, but here's a working version of your code, give it

Re: $_. and $_,

2004-10-13 Thread Jose Alves de Castro
On Wed, 2004-10-13 at 10:48, E.Horn wrote: > Hallo! Hi. > Stupid question, but i am a perlbeginner! :-( > What is the difference between $_. and $_, ?? $_ is a variable (the context variable) A single dot is the concatenation operator A single comma is the list separator So: $_. isn't really "

RE: Question to use SOAP::Lite

2004-10-08 Thread NYIMI Jose \(BMB\)
> -Original Message- > From: Angela Chan [mailto:[EMAIL PROTECTED] > Sent: Thursday, October 07, 2004 8:17 PM > To: [EMAIL PROTECTED] > Subject: Question to use SOAP::Lite > > > Hi, > > I would like to use SOAP::Lite to communicate with the web > server, but I need to send the token

RE: Open file with default application software on Windows ?

2004-10-07 Thread NYIMI Jose \(BMB\)
> -Original Message- > From: Jenda Krynicky [mailto:[EMAIL PROTECTED] > Sent: Thursday, October 07, 2004 6:14 PM > To: [EMAIL PROTECTED] > Subject: RE: Open file with default application software on Windows ? > > > From: "NYIMI Jose \(BMB\)" <[

RE: Open file with default application software on Windows ?

2004-10-07 Thread NYIMI Jose \(BMB\)
> -Original Message- > From: Jenda Krynicky [mailto:[EMAIL PROTECTED] > Sent: Thursday, October 07, 2004 4:10 PM > To: [EMAIL PROTECTED] > Subject: Re: Open file with default application software on Windows ? > > > From: "Bee" <[EMAIL PROTECTED]> > > I am curious to know that if that i

RE: Email syntax validation

2004-10-05 Thread NYIMI Jose \(BMB\)
> -Original Message- > From: Randal L. Schwartz [mailto:[EMAIL PROTECTED] > Sent: Tuesday, October 05, 2004 4:31 PM > To: [EMAIL PROTECTED] > Subject: Re: Email syntax validation > > > Silly person. Oh oh! What's this ? I can't imagine that's comes from Randal :-( José. DISC

Re: OT: Email syntax validation

2004-10-05 Thread Jose Alves de Castro
On Mon, 2004-10-04 at 17:57, JupiterHost.Net wrote: > > > > When people undiscriminatingly advocate the use of modules whenever > > possible, I get unhappy. I'm using modules when I consider it to be > > suitable. > > > > Peace my friend, do whatever you want. > It wasn't an attack, that's what

RE : Becoming Disenheartened - Everyone talks about Python and says Perl is old news.

2004-10-02 Thread Jose Nyimi
> -Message d'origine- > De : Nicolay A. Vasiliev [mailto:[EMAIL PROTECTED] > Envoyé : vendredi 1 octobre 2004 22:39 > À : Perl Beginners List > Objet : Re: Becoming Disenheartened - Everyone talks about Python and says > Perl is old news. > > I didn't mean CGI, only standart types. > s

RE: Becoming Disenheartened - Everyone talks about Python and says Perl is old news.

2004-10-01 Thread NYIMI Jose \(BMB\)
> -Original Message- > From: Nicolay A. Vasiliev [mailto:[EMAIL PROTECTED] > Sent: Friday, October 01, 2004 2:45 PM > To: [EMAIL PROTECTED] > Subject: Re: Becoming Disenheartened - Everyone talks about > Python and says Perl is old news. > > > To Randal and Chris. You all don't unders

RE: Becoming Disenheartened - Everyone talks about Python and saysPerl is old news.

2004-10-01 Thread NYIMI Jose \(BMB\)
> -Original Message- > From: Gabor Urban [mailto:[EMAIL PROTECTED] > Sent: Friday, October 01, 2004 11:05 AM > To: [EMAIL PROTECTED] > Subject: Re: Becoming Disenheartened - Everyone talks about > Python and saysPerl is old news. > > > Hi guys, > > this thread seems to expand into so

Re: how do i describe a perl user?

2004-09-30 Thread Jose Alves de Castro
On Thu, 2004-09-30 at 17:07, Sano Babu wrote: > just wondering what a user of Perl may be called? I would call him a "very intelligent person" O:-) > "Perler"?? Theres > got to be some fancy name for it. Perl is not just another programming > language.. I reckon its much more like a religion with

Re: How Can I rename File using Perl?..

2004-09-30 Thread Jose Alves de Castro
On Thu, 2004-09-30 at 10:20, Roime bin Puniran wrote: > How can i rename any file using PERL?...Where should i start?..Where i can find any > tutorial? Try this perldoc -f rename HTH, :-) jac > This e-mail and any attachments may contain confidential and > privileged information. If you are n

Re: Need help with script

2004-09-30 Thread Jose Alves de Castro
On Wed, 2004-09-29 at 21:25, JupiterHost.Net wrote: > >>> I would like the output in the following format > >>> object1<...tab>Description1 > >>> object2<...tab>Description2 > >>> object3<...tab>Description3 > >> > >> > >> perl -lne 'BEGIN{$/="\n\n";}s/\n/\t/;print' FILENAME > > > > >

RE: How Can I rename File using Perl?..

2004-09-30 Thread NYIMI Jose \(BMB\)
> -Original Message- > From: Roime bin Puniran [mailto:[EMAIL PROTECTED] > Sent: Thursday, September 30, 2004 11:20 AM > To: [EMAIL PROTECTED] > Subject: How Can I rename File using Perl?.. > > > How can i rename any file using PERL?...Where should i > start?..Where i can find any tut

Re: How to access first key of "Hash of Hash"

2004-09-29 Thread Jose Alves de Castro
On Wed, 2004-09-29 at 15:32, Edward Wijaya wrote: > On 29 Sep 2004 15:20:39 +0100, Jose Alves de Castro > <[EMAIL PROTECTED]> wrote: > > > > > > for (keys %HoH) { > > print "$_\n"; > > } > > > > It seems so. Thanks a lot. Gla

RE: Becoming Disenheartened - Everyone talks about Python and says Perl is old news.

2004-09-29 Thread NYIMI Jose \(BMB\)
> -Original Message- > From: Wiggins d Anconia [mailto:[EMAIL PROTECTED] > Sent: Wednesday, September 29, 2004 4:38 PM > To: JupiterHost.Net; [EMAIL PROTECTED] > Subject: Re: Becoming Disenheartened - Everyone talks about > Python and says Perl is old news. > > > > My what long lines

Re: How to access first key of "Hash of Hash"

2004-09-29 Thread Jose Alves de Castro
On Wed, 2004-09-29 at 15:18, Edward Wijaya wrote: > On 29 Sep 2004 14:58:00 +0100, Jose Alves de Castro > <[EMAIL PROTECTED]> wrote: > > If I understood this correctly, you want to do this: > > > > So sorry for being not clear. > I will extend just a bit.

Re: How to access first key of "Hash of Hash"

2004-09-29 Thread Jose Alves de Castro
On Wed, 2004-09-29 at 14:37, Edward Wijaya wrote: > Hi, Hi. > I have this HoH: > my %HoH = ( > firstkey => { A => 'blabla', > B => 'dadada', > C => 'tititi',} > ); > > generated with > > $HoH{$fkey}{$alpha}=$text; > > how can I access the value > of

RE: How to find if a key exist in hash?

2004-09-29 Thread NYIMI Jose \(BMB\)
> -Original Message- > From: Edward Wijaya [mailto:[EMAIL PROTECTED] > Sent: Wednesday, September 29, 2004 12:17 PM > To: [EMAIL PROTECTED] > Subject: How to find if a key exist in hash? > > > Hi, > > I have the following code, > and I know it is HORRIBLE. > > I wonder if I can do it

RE: How to track the success of insert

2004-09-29 Thread NYIMI Jose \(BMB\)
> -Original Message- > From: Anish Kumar K. [mailto:[EMAIL PROTECTED] > Sent: Wednesday, September 29, 2004 9:28 AM > To: beginners perl > Subject: How to track the success of insert > > > Hi > > I was trying out some practice examples with DBI and CGI and > kind of stuck while doing a

RE: How to track the success of insert

2004-09-29 Thread NYIMI Jose \(BMB\)
> -Original Message- > From: Anish Kumar K. [mailto:[EMAIL PROTECTED] > Sent: Wednesday, September 29, 2004 9:28 AM > To: beginners perl > Subject: How to track the success of insert > > > Hi > > I was trying out some practice examples with DBI and CGI and > kind of stuck while doing

Re: Inline Edit -- File name

2004-09-22 Thread Jose Alves de Castro
On Wed, 2004-09-22 at 15:24, [EMAIL PROTECTED] wrote: > How will I get the file name when I do an inline edit like this: > > perl -i.orig -pe '$_ = $_' filename That won't compile, but I believe you're posting something like a proof of concept rather then code... If I get this correctly, you're

RE: calling Perl Script from JSP?

2004-09-21 Thread NYIMI Jose \(BMB\)
> -Original Message- > From: Drue Reeves [mailto:[EMAIL PROTECTED] > Sent: Tuesday, September 21, 2004 4:49 AM > To: [EMAIL PROTECTED]; Cary Andrews > Subject: calling Perl Script from JSP? > > > > Anyone know how to call a PERL Script from a JSP and pass > parameters to the script? >

RE: HINT: regex coach

2004-09-09 Thread NYIMI Jose \(BMB\)
> -Original Message- > From: Jose Alves de Castro [mailto:[EMAIL PROTECTED] > Sent: Wednesday, September 08, 2004 7:42 PM > To: Ing. Branislav Gerzo > Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED] > Subject: Re: HINT: regex coach > > > On Wed, 2004-09-08 at 10:17,

Re: HINT: regex coach

2004-09-08 Thread Jose Alves de Castro
On Wed, 2004-09-08 at 10:17, Ing. Branislav Gerzo wrote: > Hi, > > many of us need sometime fast help with regex. I recently found on the > web really nice and easy program. Maybe someone of you already know > it, for those, who don't it is REGEX COACH, download it from: > > http://www.weitz.de/r

Re: Foo (Bar)---I now see the light! (Or that which is made light of)

2004-09-08 Thread Jose Alves de Castro
From dictionary.com : Another common metasyntactic variable; see foo. Hackers do *not* generally use this to mean FUBAR in either the slang or jargon sense. According to a german correspondent, the term was coined during WW2 by allied troops who could not pronounce the german word "furchtbar" (

Re: Reading Multiple Lines

2004-09-08 Thread Jose Alves de Castro
On Wed, 2004-09-08 at 18:01, Eduardo Vázquez Rodríguez wrote: > Hello > > I am writing scripts that process big files which contains too many > lines (aproximately 700 000 lines per file). My strategy until now to > solve this problem is reading line per line, something like this > > while ()

RE : Is my DB code bad?

2004-09-01 Thread Jose Nyimi
> -Message d'origine- > De : Dave Kettmann [mailto:[EMAIL PROTECTED] > Envoyé : mercredi 1 septembre 2004 22:42 > À : Perl List (E-mail) > Objet : RE: Is my DB code bad? > > First off, Thanks to Jenda and Wiggins for their quick response. I have > found the answer to my question in Jenda

RE: pulling out "a","an", "the" from beginning of strings

2004-08-24 Thread Jose Alves de Castro
On Tue, 2004-08-24 at 16:19, Bob Showalter wrote: > Jose Alves de Castro wrote: > > On Tue, 2004-08-24 at 15:04, Tim McGeary wrote: > > > I need to pull out articles "a", "an", and "the" from the beginning > > > of title strings so that th

Re: security on a html page with perl.

2004-08-24 Thread Jose Alves de Castro
On Tue, 2004-08-24 at 15:36, Chris Devers wrote: > On Tue, 24 Aug 2004, Jose Alves de Castro wrote: > > > On Tue, 2004-08-24 at 15:22, Chris Devers wrote: > > > >> The obvious way I can think of to do this is to make the download page a > >

Re: pulling out "a","an", "the" from beginning of strings

2004-08-24 Thread Jose Alves de Castro
On Tue, 2004-08-24 at 15:39, Chris Devers wrote: > On Tue, 24 Aug 2004, Jose Alves de Castro wrote: > > > On Tue, 2004-08-24 at 15:04, Tim McGeary wrote: > >> I need to pull out articles "a", "an", and "the" from the beginning of > >>

Re: security on a html page with perl.

2004-08-24 Thread Jose Alves de Castro
On Tue, 2004-08-24 at 15:22, Chris Devers wrote: > On Tue, 24 Aug 2004, Joe Echavarria wrote: > > > After a user fill out a form and submit it a perl > > script takes the user to a download page of my > > website. how can i prevent a user from directly > > access the download page using the web

Re: pulling out "a","an", "the" from beginning of strings

2004-08-24 Thread Jose Alves de Castro
On Tue, 2004-08-24 at 15:16, Tim McGeary wrote: > Jose Alves de Castro wrote: > > On Tue, 2004-08-24 at 15:04, Tim McGeary wrote: > > > >>I need to pull out articles "a", "an", and "the" from the beginning of > >>title strings so

Re: Between times

2004-08-24 Thread Jose Alves de Castro
On Tue, 2004-08-24 at 14:49, rmck wrote: > Hello, Hi > I have a script that I want to print only if between 08:00 and 17:00. Would I match > every hour then print?? Any cleaner way to do this would be great. Thanks > > my($sec,$min,$hour,$mday,$mon); > ($sec,$min,$hour,$mday,$mon)=localtime; I

Re: pulling out "a","an", "the" from beginning of strings

2004-08-24 Thread Jose Alves de Castro
On Tue, 2004-08-24 at 15:04, Tim McGeary wrote: > I need to pull out articles "a", "an", and "the" from the beginning of > title strings so that they sort properly in MySQL. What is the best way > to accomplish that if I have a single $scalar with the whole title in it? I would go with substitu

Re: pulling out "a","an", "the" from beginning of strings

2004-08-24 Thread Jose Alves de Castro
On Tue, 2004-08-24 at 15:04, Tim McGeary wrote: > I need to pull out articles "a", "an", and "the" from the beginning of > title strings so that they sort properly in MySQL. What is the best way > to accomplish that if I have a single $scalar with the whole title in it? I would go with substitu

Re: PERL and Mobile Devices.

2004-08-24 Thread Jose Alves de Castro
I know this is old stuff, but it might be interesting to some of you On Fri, 2004-08-13 at 14:33, James Edward Gray II wrote: > On Aug 10, 2004, at 3:35 PM, JupiterHost.Net wrote: > > > I remember hearing some cell phones had perl and maybe PDA's??? > > Really? I would be very interested to kno

RE : Data comparision analysis

2004-08-18 Thread Jose Nyimi
> -Message d'origine- > De : Gunnar Hjalmarsson [mailto:[EMAIL PROTECTED] > Envoyé : mercredi 18 août 2004 17:18 > À : [EMAIL PROTECTED] > Objet : Re: Data comparision analysis > > Marcos Rebelo wrote: > > Gunnar Hjalmarsson wrote: > >> Or a little shorter: > >> > >> #!/usr/bin/perl > >>

Re: a bug of "-f" option?

2004-08-17 Thread Jose Alves de Castro
On Tue, 2004-08-17 at 10:18, Gunnar Hjalmarsson wrote: > Shu Hung wrote: > > I recently wrote a script with a '-f' file test inside. > > > > Normally, a '-f ' returns TRUE if a file with that > > filename exist. My script returns TRUE for all the files -- except > > the largest one (9.7 GB) on my

Re: awk like question

2004-08-13 Thread Jose Alves de Castro
e '$hash{$F[0]}=$F[1]; END{ # do something with %hash}' That should do the trick > --Errin > > On 13 Aug 2004 16:57:00 +0100, Jose Alves de Castro <[EMAIL PROTECTED]> wrote: > > On Fri, 2004-08-13 at 16:51, Errin Larsen wrote: > > > um, can anyone exp

Re: awk like question

2004-08-13 Thread Jose Alves de Castro
On Fri, 2004-08-13 at 16:51, Errin Larsen wrote: > um, can anyone explain the 'print' function below to me? > > specifically ... this: > > 'print "@F[0,5]"' The -a signal splits the input lines and stores the resulting elements in @F Example: perl -nae 'print "$F[1]\n"' file.txt where file.

Re: set operations on arrays

2004-08-13 Thread Jose Alves de Castro
On Wed, 2004-08-11 at 18:13, Christopher J. Bottaro wrote: > is it possible to do set opperations on arrays? any cpan module or > anything? i want to do something like the following: Yes, it is possible. http://search.cpan.org/~muenalan/Class-Maker-0.05.18/Maker/Examples/Array.pm or, if you're

RE: how to embed c code in perl programs

2004-08-13 Thread NYIMI Jose \(BMB\)
> -Original Message- > From: Karthick [mailto:[EMAIL PROTECTED] > Sent: Friday, August 13, 2004 9:17 AM > To: [EMAIL PROTECTED] > Subject: how to embed c code in perl programs > > > Hi, > Is it possible to embed C/C++ codes into perl programs. > (Actually I want to make use of an API, t

Re: checking all pieces of split data for NULL

2004-08-10 Thread Jose Alves de Castro
On Tue, 2004-08-10 at 15:01, Tim McGeary wrote: > I have a file of data that I want to safety check to ensure that there > is data for each piece of the line being split. Is there a fast way to > say "If any of these are '' then write to error log"? Let's say you have your line split in @line

Re: File Size Calculator

2004-08-09 Thread Jose Alves de Castro
On Mon, 2004-08-09 at 14:53, David Dorward wrote: > On 9 Aug 2004, at 14:34, SilverFox wrote: > > > Hi all, I'm trying to writing a script that will allow a user to enter > > a > > number and that number will be converted into KB,MB or GB depending on > > the > > size of the number. Can someone

Re: What is this doing: eval 'exec /usr/bin/perl -T -w -S $0 ${1+"$@"}' if 0;

2004-08-09 Thread Jose Alves de Castro
On Sun, 2004-08-08 at 04:06, JupiterHost.Net wrote: > I found this code in a script right after the she-bang line: > > eval 'exec /usr/bin/perl -T -w -S $0 ${1+"$@"}' > if 0; # not running under some shell > > What is it doing? Hi. From `perldoc perlrun`, under -S : Typically this is used

  1   2   3   4   5   >