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: RE : Perl program to convert system date to yymmdd

2005-03-03 Thread Nishi Prafull
ssage 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

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

2005-03-03 Thread Wagner, David --- Senior Programmer Analyst --- WGO
essage 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 >>>> Obj

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

2005-03-03 Thread Nishi Prafull
gt; [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 M

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

2005-03-03 Thread Wagner, David --- Senior Programmer Analyst --- WGO
Jose Nyimi wrote: >> -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 progra

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 > >

RE: Perl program to convert system date to yymmdd

2005-03-03 Thread Wagner, David --- Senior Programmer Analyst --- WGO
Nishi Prafull wrote: > On Thu, 3 Mar 2005 12:12:35 -0800, Wagner, David --- Senior Programmer > Analyst --- WGO <[EMAIL PROTECTED]> wrote: >> Nishi Prafull wrote: >>> HI: >>> >>> I want to write a perl script that would compute the date in the >>> format yymmdd(050303) and subsitute it for a varia

Re: Perl program to convert system date to yymmdd

2005-03-03 Thread Nishi Prafull
On Thu, 3 Mar 2005 12:12:35 -0800, Wagner, David --- Senior Programmer Analyst --- WGO <[EMAIL PROTECTED]> wrote: > Nishi Prafull wrote: > > HI: > > > > I want to write a perl script that would compute the date in the > > format yymmdd(050303) and subsitute it for a variable in the perl > > script.

RE: Perl program to convert system date to yymmdd

2005-03-03 Thread Wagner, David --- Senior Programmer Analyst --- WGO
Nishi Prafull wrote: > HI: > > I want to write a perl script that would compute the date in the > format yymmdd(050303) and subsitute it for a variable in the perl > script. This variable is thereafter subsituted in a command that will > be run inside the script. > > myTest.pl > > var aDate;

Re: perl program

2003-07-26 Thread david
"Visu" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > above steps to a complex script fo which i got the following error message. > > > ## > /usr/bin/perlcc: multipleanalyseV5.0.pl did not compile, which can't happen: > Starting compile > Walking tree > Prescan > Saving method

RE: perl program

2003-07-25 Thread Visu
On Thu, 24 Jul 2003, david wrote: > Reggie Kogulan wrote: > > > Aaron, > > What I am looking is to distribute the executable only. Not the code. like > > a compiled C program will generates a.out or jar file in java. Thats all I > > am looking for. > > > > Someone earlier said to use perlcc. W

RE: perl program

2003-07-24 Thread david
Reggie Kogulan wrote: > Aaron, > What I am looking is to distribute the executable only. Not the code. like > a compiled C program will generates a.out or jar file in java. Thats all I > am looking for. > > Someone earlier said to use perlcc. Which I did now. I do not see an > executable file. >

RE: perl program

2003-07-24 Thread Kogulan, Reggie
ie; [EMAIL PROTECTED] >>>Subject: Re: perl program >>> >>> >>> >>>If you use a unix-like system and have some kind of >>>priviledged access, you >>>could try: create a new user, say "perlmaster" >>> >>>c

Re: perl program

2003-07-24 Thread Aaron Christopher Vonderhaar
If you use a unix-like system and have some kind of priviledged access, you could try: create a new user, say "perlmaster" chown perlmaster script.pl chmod 700 script.pl # only "perlmaster" can run it (echo "#!/bin/sh"; echo "/path/to/script.pl") > run_the_script.sh chown perlmaster run_the_scri

RE: perl program

2003-07-24 Thread Levon Barker
AIL PROTECTED] > Sent: Thursday, July 24, 2003 11:27 AM > To: Rus Foster; LI NGOK LAM > Cc: [EMAIL PROTECTED] > Subject: RE: perl program > > > I am newbie here. I want to know if the perl program code can be > protected such that noone else sees it. In other words,I have > seve

RE: perl program

2003-07-24 Thread Kogulan, Reggie
I am newbie here. I want to know if the perl program code can be protected such that noone else sees it. In other words,I have several perl codes and want to know if I can put out a file only as executable such that the code cannot be seen. Thanks Reggie >>>-Original Message- >>>From:

Re: perl program control -- wvdial

2003-03-05 Thread jdavis
On Wed, 2003-03-05 at 07:19, zentara wrote: > On 04 Mar 2003 22:58:20 -0700, [EMAIL PROTECTED] (Jdavis) wrote: > > >Hello, > > I am writing a script to help a user turn a modem > >on and off and adjust the routing tables on a > >Linux box. I am trying to call wvdial to do the dialing, > >but it

Re: perl program control -- wvdial

2003-03-05 Thread zentara
On 04 Mar 2003 22:58:20 -0700, [EMAIL PROTECTED] (Jdavis) wrote: >Hello, > I am writing a script to help a user turn a modem >on and off and adjust the routing tables on a >Linux box. I am trying to call wvdial to do the dialing, >but it does not give control back to my script. I call >it like s

Re: perl program control -- wvdial

2003-03-05 Thread Rob Dixon
Jdavis wrote: > Hello, > I am writing a script to help a user turn a modem > on and off and adjust the routing tables on a > Linux box. I am trying to call wvdial to do the dialing, > but it does not give control back to my script. I call > it like so > > if( $choice == 1){ > `wvdial`; > print "c

Re: perl program control -- wvdial

2003-03-05 Thread LaVei
Jdavis wrote: > > Hello, Hello! > if( $choice == 1){ > `wvdial`; > print "connected"; > } > > I also have tried.. > > if( $choice == 1){ > `wvdial&`; > } > > but nothing after `wvdial` gets ran. > could someone offer me some advice...please :) ? try: if( $choice == 1) {

Re: perl program for detecting sub-routine calls

2001-07-13 Thread Akshay Arora
hmm how about while(){ if(m/[^'].*?(\&[^&]\S+)[^"']/){ print "line $i: " . $1 . " is a subroutine\n"; } if(m/-\>(\S+)/){ print "line $i: " . $1 . " is a subroutine\n"; } $i++; } it's not perfect, but it'll do the job... -Ak

RE: PERL PROGRAM HELP!

2001-06-21 Thread Aaron Craig
At 11:35 20.06.2001 +0100, Govinderjit Dhinsa wrote: >Iv been givin this program to modify, but I can not astblish what some parts >of the program are doing. From > >printf >to >} > >Can any body help please and run through it with me pls! > > > >open iscd,"<$ARGV[0]" or die "Cannot

Re: PERL PROGRAM HELP!

2001-06-20 Thread Gary Stainburn
Hello there, without some specifics, such as example input and required output there's not a lot we can do here. However, for ideas on how to extract the required data, look at using regex (regular expressions) by doing 'perldoc prelre'. For ideas on formatting the report look at perl forma

RE: PERL PROGRAM HELP!

2001-06-20 Thread Kipp, James
This code is a mess, your better off rewriting it. > > open iscd,"<$ARGV[0]" or die "Cannot open $ARGV[0]",$!; > open sortcode,">$ARGV[1]"; > while($line=){ > chomp $line; > @fields=split "\t",$line; > printf sortcode > "\n%6.6s%8.8s%3.3s%27.27s%20.20s%35.35s%35.35s%10.10

Re: PERL PROGRAM HELP!

2001-06-20 Thread Me
> Hi, I am new to perl and have been chucked in the deep end!!! I have been > asked to write a perl script, with a output in report style; > > Description for script: > Read a file, (sorted) > take certain data from the file, (problem) >

RE: PERL PROGRAM HELP!

2001-06-20 Thread Govinderjit Dhinsa
Hi, I am new to perl and have been chucked in the deep end!!! I have been asked to write a perl script, with a output in report style; Description for script: Read a file, (sorted) take certain data from the file, (problem) put the cert

Re: PERL PROGRAM HELP!

2001-06-20 Thread Me
> Iv been givin this program to modify, but I can not astblish what some parts > of the program are doing. From > > printf > to > } > > Can any body help please and run through it with me pls! > > > > open iscd,"<$ARGV[0]" or die "Cannot open $ARGV[0]",$!; > open sortcode,">$ARGV[1]"

RE: PERL PROGRAM HELP!

2001-06-20 Thread Govinderjit Dhinsa
Iv been givin this program to modify, but I can not astblish what some parts of the program are doing. From printf to } Can any body help please and run through it with me pls! open iscd,"<$ARGV[0]" or die "Cannot open $ARGV[0]",$!; open sortcode,">$ARGV[1]"; while($line=){