Ooops, accidentaly left the # characters in RemoteShare definition...
Disregard them. :)
Nash
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/
On Dec 28, 2007 12:39 AM, Mayuresh Nirhali <[EMAIL PROTECTED]> wrote:
> During DBI building, MakeMaker uses the fixin() method to write the shebang
> line for all the perl scripts that will be installed.
> The path on my machine is /usr/perl/5.8.4/bin/perl. I also have
> /usr/perl5/bin/perl which
On Dec 28, 2007 10:15 AM, Adarsh Srivastava
<[EMAIL PROTECTED]> wrote:
> Hello,
>
> Is there any inbuilt/external function or library that can convert a text
> expression (eg. "22 + 23") and evaluate the resulting value?( 45 in this
> case).
snip
Well, the string form of eval will do this; however
On Dec 28, 2007 6:42 AM, <[EMAIL PROTECTED]> wrote:
> Hi all,
>I am new user of this group. can you tell how can i accept
> array elements using loop. for example
> for($i=0;$i<5;$i++)
> {
> $a[$i]=;
> }
While this does appear to be valid syntax (except that it is STDIN not
stdin),
[EMAIL PROTECTED] wrote:
Hi all,
Hello,
I am new user of this group. can you tell how can i accept
array elements using loop. for example
for($i=0;$i<5;$i++)
{
$a[$i]=;
}
my @a = map scalar , 1 .. 5;
John
--
Perl isn't a toolbox, but a small machine shop where you
can specia
On Dec 28, 2007 9:45 AM, Nash <[EMAIL PROTECTED]> wrote:
> On Dec 28, 5:55am, [EMAIL PROTECTED] (Chas. Owens) wrote:
>
> > You are not using the strict pragma (this doesn't effect your current
> > problem, but it is still a bad idea).
>
> Like I said, I'm new to Perl. By "pragma" I guess you mean s
With minor text modifications, you ought to be able to pull it off easily
with the built in "eval"
http://perldoc.perl.org/functions/eval.html
Note: please don't post disclaimers to this list.
On Dec 28, 5:55 am, [EMAIL PROTECTED] (Chas. Owens) wrote:
> You are not using the strict pragma (this doesn't effect your current
> problem, but it is still a bad idea).
Like I said, I'm new to Perl. By "pragma" I guess you mean syntax?
> It also looks (based on the answer to your second questi
Hello,
Is there any inbuilt/external function or library that can convert a
text expression (eg. "22 + 23") and evaluate the resulting value?( 45 in
this case).
I need to extract similar text expressions from a file and convert them
to single values, but since this is supposed to be only a sma
On Dec 28, 6:42 am, [EMAIL PROTECTED] wrote:
> I am new user of this group. can you tell how can i accept
> array elements using loop. for example
> for($i=0;$i<5;$i++)
> {
> $a[$i]=;
> }
What, exactly, is wrong with the solution you provided right there?
How does it not meet your ne
On Thu, 27 Dec 2007 10:46:42 -0500, Clifton Lee wrote:
> The output from the system command may be better stored in a scalar and then
> split into an array (separated by return line characters). Then you can use
> the 'foreach' operator for each element in your array.
That makes no sense. Perl w
On Dec 28, 2007 7:42 PM, <[EMAIL PROTECTED]> wrote:
> Hi all,
>I am new user of this group. can you tell how can i accept
> array elements using loop. for example
> for($i=0;$i<5;$i++)
> {
> $a[$i]=;
> }
>
use strict;
my @arr;
while(<>) {
chomp;
push @arr,$_;
}
--
To uns
Hi all,
I am new user of this group. can you tell how can i accept
array elements using loop. for example
for($i=0;$i<5;$i++)
{
$a[$i]=;
}
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/
Hello,
During DBI building, MakeMaker uses the fixin() method to write the shebang
line for all the perl scripts that will be installed.
The path on my machine is /usr/perl/5.8.4/bin/perl. I also have
/usr/perl5/bin/perl which is *currently* pointing to the same 5.8.4 perl,
but this generic versio
"Chas. Owens" <[EMAIL PROTECTED]> wrote:
No, environmental variables are a per-process thing. Child processes
inherit the state of their parent's environment, but that is it. If
you need inter-process communication you have to use IPC*, a file, a
database, or some other external resource. Take
15 matches
Mail list logo