Owen wrote:
I have a perl script on remote server.
I want to launch a expect script(none perl) from local server with
arguments and launch perl script on remote server.(arguments will be
feed into perl script)
I don't know how long perl script will run but I want to scp(using
expe
howa wrote:
>
> Why sometimes I can use a command to install Perl module, e.g.
>
> perl -MCPAN -e "install Digest::MD5"
>
> But sometimes can't?
>
> e.g.
>
> perl -MCPAN -e "install Archive::Zip"
>>> Can't locate object method "install" via package "Archive::Zip" at -e line
>>> 1.
>
>
> Are
> I have a perl script on remote server.
> I want to launch a expect script(none perl) from local server with
arguments and launch perl script on remote server.(arguments will be
feed into perl script)
> I don't know how long perl script will run but I want to scp(using
expect script from local) th
On Mar 1, 2:32 pm, telemac...@arpinum.org (Telemachus) wrote:
> On Sun Mar 01 2009 @ 1:04, Octavian Râsnita wrote:
>
>
>
> > From: "prasath_linux"
> >> Hi,
>
> >> Is there any possible function to print the associative array. We
> >> have print_r() function in PHP to display the associative arra
I have a perl script on remote server.
I want to launch a expect script(none perl) from local server with
arguments and launch perl script on remote server.(arguments will be
feed into perl script)
I don't know how long perl script will run but I want to scp(using
expect script from local) the
Hi again,
I'm digging out this thread cause it seems that my problem has been only
partially solved. Indeed "my @myout = `program file`;" can save the output
of my program to an array for parsing but this doesn't happen when I use
programs with output that cannot be redirected to a file (i.e. erro
On Behalf Of Harry Putnam
>
> I have a semi-big mess here.
>
> Never mind how I managed it but let me describe what I want to do and
> maybe some kind soul can steer me to something on cpan or just have
> some helpful clues.
>
> I have two directories of news/mail messages containing different
>
I have a semi-big mess here.
Never mind how I managed it but let me describe what I want to do and
maybe some kind soul can steer me to something on cpan or just have
some helpful clues.
I have two directories of news/mail messages containing different
number of files. However I expect there is f
On Mar 2, 1:10 am, r...@i.frys.com (Ron Bergin) wrote:
> Since you're using double quotes, I assume that you're on Windows. I
> suspect it has something to do with the way cmd is parsing the command
> before passing it to perl.
no matter I use single or double quote (on Linux), both does not
work
Hi,
I am struggling with a mysterious problem sending data to (HP jetdirect)
printers;
The printers accepts postscript/pcl data on port 9100. Sending the data with:
cat data.ps | netcat printer 9100
always works. When sending the data with a Perl program however, in some cases
the printers fo
Susan wrote:
If my data looks like this:
word 1: 100101 101102102 102106106
word 2: 101104 106110113 129131148
word 3: 101153 175180381
word 4: 106110 113122131 137142148
word 5: 120165 1
On Mon Mar 02 2009 @ 7:54, Sarsamkar, Paryushan wrote:
> Ohh ... sorry ... after rethinking over it ... I think it converts the
> $normal to lower case before comparison
Right, which is a standard and smart thing to do since you can't count on
your users to correctly type 'y-e-s'. Damn users.
Ohh ... sorry ... after rethinking over it ... I think it converts the $normal
to lower case before comparison
Please ignore my mail earlier
Thanks,
Paryushan
-Original Message-
From: Sarsamkar, Paryushan [mailto:psars...@ptc.com]
Sent: Monday, March 02, 2009 6:18 PM
To: beginners@per
Ok thanks. But is lc needed here? I tried without using lc it works fine
because output of comparison will be always 1 if I am not wrong.
last if lc $normal eq 'yes' or lc $normal eq 'no';
Thanks,
Paryushan
-Original Message-
From: Gunnar Hjalmarsson [mailto:nore...@gunnar.cc]
Sent:
Sarsamkar, Paryushan wrote:
I did not understand meaning of this line :( below. I only understood
that it will exit while loop if the input has either yes or no. But
then what is " grep { lc $normal eq $_ } "?
last if grep { lc $normal eq $_ } 'yes', 'no';
It's another way to say:
last if
On Fri Feb 27 2009 @ 8:24, Susan wrote:
> If my data looks like this:
>
> word 1: 100101 101102102 102106106
> word 2: 101104 106110113 129131148
> word 3: 101153 175180381
> word 4: 106110 113122131 137
http://qmantraz.com/page/quiz#quiz/6
Bollywood news, movie reviews, film trailers and more! Go to
http://in.movies.yahoo.com/
>
> Use print(), not printf().
>
> --
> Gunnar Hjalmarsson
> Email:http://www.gunnar.cc/cgi-bin/contact.pl- Hide quoted text -
>
> - Show quoted text -
Thanx Gunnar and Octavian, print() and chomp() together did the job
just fine.
~Pushkar
--
To unsubscribe, e-mail: beginners-unsubscr...@perl.o
On Feb 25, 2:41 pm, spitt...@jhmi.edu (Steve Pittman) wrote:
> I downloaded and unzipped the TAR file...how do I install it...directions say
> copy into lib which didn't work
>
> thanks in advance
Hi,
Download C++ compiler & (nmake or dmake).
Extract tar files. navigate to the directory.
perl
On Feb 27, 9:03 pm, howac...@gmail.com (Howa) wrote:
> Hi,
>
> Why sometimes I can use a command to install Perl module, e.g.
>
> perl -MCPAN -e "install Digest::MD5"
>
> But sometimes can't?
>
> e.g.
>
> perl -MCPAN -e "install Archive::Zip"
>
> >> Can't locate object method "install" via package
20 matches
Mail list logo