> -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
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
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
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
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
> -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 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
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.
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;
"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
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
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.
>
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
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
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
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:
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
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
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
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)
{
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
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
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
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
> 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)
>
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
> 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]"
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=){
28 matches
Mail list logo