Bruno Costacurta wrote:
Hello,
Hello,
I'm looking about how to work with $? returning from a system call.
Have you read the documentation for that variable?
perldoc perlvar
I have the following :
system("echo 'DIS CHS(*)' | runmqsc SQFR | grep CHANNEL | sort | uniq -c");
print $?;
whi
Hi Raheel,
On Thursday 22 Apr 2010 17:19:58 Raheel Hassan wrote:
> Thanks for your reply, I am using 2.6.27.24-2xossmp version of Mandriva.
2.6.27.24-2 is the kernel version (which is kinda old - I'm using 2.6.33.2). I
need the Mandriva version - please do:
[shell]
shlomi:~$ cat /etc/mandriva-
Harry Putnam asked:
> I pointed to that exact piece of code then asked how to make that
> kind of options setting when using this format of find()
>
> find(
>sub {
> if(bla){
>blabla
> }
>},
> @dir
> );
That's not possible, since there is neither an option parameter
-Original Message-
From: Uri Guttman [mailto:u...@stemsystems.com]
Sent: Wednesday, April 21, 2010 4:21 PM
To: Lonnie Ellis
Cc: beginners@perl.org
Subject: Re: Using backtick operator output and feeding it into array
> "LE" == Lonnie Ellis writes:
LE> I'm pretty new to perl, and c
-Original Message-
From: Linux Expert [mailto:linuxexper...@gmail.com]
Sent: Wednesday, April 21, 2010 4:28 PM
To: beginners@perl.org
Subject: Re: Using backtick operator output and feeding it into array
(@digOutput) = `dig -x $ipaddie +short`;
The line shown above is replacing the enti
Thanks for your reply, I am using 2.6.27.24-2xossmp version of Mandriva. I
need to install some modules ExtUtils, GD, Term::ReadKey, Term::ScreenColor,
IO etc. I need these modules because the software that i developed uses
these modules and i want to run my software on this version of Mandriva. I
CHAN, KENNETH 1 [AG/7721] wrote:
Hi all,
I used colorAllocateAlpha to specify a transparent color. After
filling a circle with it, I don't see the background line which is drawn
before. The code is pasted below. What did I do wrong here? Thanks.
The alphaBlending may be in the wrong mode.
On Thursday 22 Apr 2010 15:03:05 Harry Putnam wrote:
> Thomas Bätzler writes:
> > Harry Putnam wrote:
[SNIP]
> I pointed to that exact piece of code then asked how to make that
> kind of options setting when using this format of find()
>
> find(
>sub {
> if(bla){
>blabla
>
*I have only these files.
[r...@localhost /]# find -name 'CORE'*
./usr/lib/perl5/5.10.1/i386-linux-thread-multi/CORE
./usr/lib/perl5/5.10.0/i386-linux-thread-multi/CORE
[r...@localhost /]# cd /usr/lib/perl5/5.10.1/i386-linux-thread-multi/CORE
[r...@localhost CORE]# ls
config.h git_version.h lib
Hello,
I'm looking about how to work with $? returning from a system call.
I have the following :
system("echo 'DIS CHS(*)' | runmqsc SQFR | grep CHANNEL | sort | uniq -c");
print $?;
which is returning correct result :
6CHANNEL(ADMIN.MQMON)CHLTYPE(SVRCONN)
19C
Thomas Bätzler writes:
> Harry Putnam wrote:
>> I'm not finding a reference in perldoc File::Find showing how to set
>> that flag when using the popular notation like the script involved
>> here.
>
> Probably a case of not seeing the woods because of the trees ;-)
>
> To quote:
>
> NAME
>
Hi Raheel!
On Thursday 22 Apr 2010 14:21:20 Raheel Hassan wrote:
> -- Forwarded message --
> From: Raheel Hassan
> Date: Wed, Apr 21, 2010 at 3:55 PM
> Subject: ExtUtils-Makemaker comilation problems.
> To: beginners@perl.org
>
>
> Hi,
>
> When i am trying to install ExtUtils i
>
> When i am trying to install ExtUtils i have these errors are coming. I
> am
> trying ti install it in Mandriva. Can any one can give be the clue.
> Thanks
> in advance.
>
> /usr/lib/perl5/5.10.1/**ExtUtils/typemap Test.xs > Test.xsc && mv
> Test.xsc
> Test.c
> # make[1]: *** No rule to mak
On Thursday 22 Apr 2010 12:12:34 CHAN, KENNETH 1 [AG/7721] wrote:
> Hi all,
>
> I used colorAllocateAlpha to specify a transparent color. After
> filling a circle with it, I don't see the background line which is drawn
> before. The code is pasted below. What did I do wrong here? Thanks.
I thin
> Hi,
>
> I wonder if some of you are in the same situation like me: I am the
> only
> Perl programmer in the company, at least trying hard to get along :-),
> but I have nobody to ask for help. So I spend hours and hours with my
> book and the internet when I'm stuck. Luckily, so far I almost alw
-- Forwarded message --
From: Raheel Hassan
Date: Wed, Apr 21, 2010 at 3:55 PM
Subject: ExtUtils-Makemaker comilation problems.
To: beginners@perl.org
Hi,
When i am trying to install ExtUtils i have these errors are coming. I am
trying ti install it in Mandriva. Can any one can
On Thursday 22 Apr 2010 12:38:39 HACKER Nora wrote:
> Hi,
>
> I wonder if some of you are in the same situation like me: I am the only
> Perl programmer in the company, at least trying hard to get along :-),
> but I have nobody to ask for help. So I spend hours and hours with my
> book and the int
> Hi all,
>
> I used colorAllocateAlpha to specify a transparent color. After
> filling a circle with it, I don't see the background line which is
> drawn
> before. The code is pasted below. What did I do wrong here? Thanks.
I rewrote your script to write to the hard drive. The background lin
HACKER Nora asked:
> I wonder if some of you are in the same situation like me: I am the
> only Perl programmer in the company, at least trying hard to get
> along :-), but I have nobody to ask for help. So I spend hours and
> hours with my book and the internet when I'm stuck. Luckily, so far
> I
On Thu, Apr 22, 2010 at 11:38 AM, HACKER Nora wrote:
> Hi,
>
> I wonder if some of you are in the same situation like me: I am the only
> Perl programmer in the company, at least trying hard to get along :-),
> but I have nobody to ask for help. So I spend hours and hours with my
> book and the i
HACKER Nora wrote:
Hi,
I wonder if some of you are in the same situation like me: I am the only
Perl programmer in the company, at least trying hard to get along :-),
but I have nobody to ask for help. So I spend hours and hours with my
book and the internet when I'm stuck. Luckily, so far I alm
Hi,
I wonder if some of you are in the same situation like me: I am the only
Perl programmer in the company, at least trying hard to get along :-),
but I have nobody to ask for help. So I spend hours and hours with my
book and the internet when I'm stuck. Luckily, so far I almost always
accomplish
Hi all,
I used colorAllocateAlpha to specify a transparent color. After
filling a circle with it, I don't see the background line which is drawn
before. The code is pasted below. What did I do wrong here? Thanks.
Regards,
Kenneth
## Code ###
print "Co
> Hi,
>
> This is embarrassing.
>
> All I want to do is read the content of a simple 10 line .txt file
> into an array
> and print out the lines, and I just can't seem to get it to work!
> /*
> $target = "D:\testfile.txt";
> open NEWBIE, "<"$target";
> @arr = ;
> foreach $line (@arr) {
> print "$l
Kryten asked:
> This is embarrassing.
>
> All I want to do is read the content of a simple 10 line .txt file
> into an array
> and print out the lines, and I just can't seem to get it to work!
> /*
> $target = "D:\testfile.txt";
> open NEWBIE, "<"$target";
> @arr = ;
> foreach $line (@arr) {
> pr
> "K" == Kryten writes:
K> All I want to do is read the content of a simple 10 line .txt file
K> into an array and print out the lines, and I just can't seem to get
K> it to work!
K> /*
K> $target = "D:\testfile.txt";
K> open NEWBIE, "<"$target";
that won't even compile. are yo
Hi,
This is embarrassing.
All I want to do is read the content of a simple 10 line .txt file
into an array
and print out the lines, and I just can't seem to get it to work!
/*
$target = "D:\testfile.txt";
open NEWBIE, "<"$target";
@arr = ;
foreach $line (@arr) {
print "$line\n";
}
close(NEWBIE)
*
On Apr 20, 2:11 pm, dery...@gmail.com ("C.DeRykus") wrote:
> On Apr 20, 9:38 am, jimsgib...@gmail.com (Jim Gibson) wrote:
>
> ...
> > >> If we put $x=(1,2) then we get 2 without the error message.
>
> > >> Can someone please explain why?
>
> > > Yes, perl places the last item in the list into the v
>
> Yes all non-alphanumeric and non-whitespace. I have a
> database for people to search using a keyword or all
> alphanumerical words (including space) are valid, but no
> special characters. All the characters I am substituting
> below are invalid characters for the search.
>
If you are h
On Thursday 22 Apr 2010 02:56:44 Shawn H Corey wrote:
> Harry Putnam wrote:
> > I've run into one of those things where I can't see why my code
> > fails. ... and know it has to be something obvious.
> >
> > Why does the second usage of stat... fail in the find() funciton?
>
> File::Find changes
30 matches
Mail list logo