Hi All,
Please help me to perform sum of values in a loop, I am getting following error:
"total=0++432907765772: ++ requires lvalue"
where actual statement is as : total=$total+$amt
where amt can have +ve or -ve values
Thanks
Sandeepb (3 Replies)
I'm running sendmail (8.13.8+Sun/8.13.8/Submit) solaris 10.
When I send mail to root at the command line (whether I use a full-qualified address or just root), I get the error message
root... User address required.
Sending mail to root (either at the command line or in a cron job),... (10 Replies)
Hi,
I am trying to compile a program (not coded by me), and i'm getting this error:
203: error: lvalue required as left operand of assignment
As you may be guessing, the program doesn't compile, the line number 203 is the following:
... (2 Replies)
Hi,
I have line in input file as below:
3G_CENTRAL;INDONESIA_(M)_TELKOMSEL;SPECIAL_WORLD_GRP_7_FA_2_TELKOMSEL
My expected output for line in the file must be :
"1-Radon1-cMOC_deg"|"LDIndex"|"3G_CENTRAL|INDONESIA_(M)_TELKOMSEL"|LAST|"SPECIAL_WORLD_GRP_7_FA_2_TELKOMSEL"
Can someone... (7 Replies)
im kinda new to shell scripting so i need some help
i try to run this script and get the error code
> 5 ")syntax error: operand expected (error token is "
the code for the script is
#!/bin/sh
#
# script to see if the given value is correct
#
# Define errors
ER_AF=86 # Var is... (4 Replies)
I am trying to find lines in a text file larger than 3 Gb that start with a given string. My command looks like this:
$ look "string" "/home/patrick/filename.txt"
However, this gives me the following message:
"look: /home/patrick/filename.txt: File too large"
So, I have two... (14 Replies)
z < 0 ? z= z + 2*r*cos(theta) : z= z - 2*r*cos(theta);
Does anyone know what is wrong here?
I've got compiler msg:
lvalue required as left operand of assignment
All variables are "double". I'm using gcc compiler (but I don't think that matters) (5 Replies)
1. After trying to compile code error is given Lvalue required as left operand of assignment.
2. Relevant commands, code, scripts, algorithms:
if , else if
3. The attempts at a solution (include all code and scripts):
/*
File: incircles.cpp
Created by: James Selhorst
... (2 Replies)
Hello.
System : opensuse leap 42.3
I have a bash script that build a text file.
I would like the last command doing :
print_cmd -o page-left=43 -o page-right=22 -o page-top=28 -o page-bottom=43 -o font=LatinModernMono12:regular:9 some_file.txt
where :
print_cmd ::= some printing... (1 Reply)
Discussion started by: jcdole
1 Replies
LEARN ABOUT DEBIAN
je::lvalue
JE::LValue(3pm) User Contributed Perl Documentation JE::LValue(3pm)NAME
JE::LValue - JavaScript lvalue class
SYNOPSIS
use JE::LValue;
$lv = new JE::LValue $some_obj, 'property_name';
$lv->get; # get property
$lv->set($value) # set property
$lv->some_other_method # same as $lv->get->some_other_method
DESCRIPTION
This class implements JavaScript lvalues (called "Reference Types" by the ECMAScript specification).
METHODS AND OVERLOADING
If a method is called that is not listed here, it will be passed to the property referenced by the lvalue. (See the last item in the
SYNOPSIS, above.) For this reason, you should never call "UNIVERSAL::can" on a JE::LValue, but, rather, call it as a method
("$lv->can(...)"), unless you really know what you are doing.
Similarly, if you try to use an overloaded operator, it will be passed on to the object that the lvalue references, such that "!$lvalue" is
the same as calling "!$lvalue->get".
$lv = new JE::LValue $obj, $property
Creates an lvalue/reference with $obj as the base object and $property as the property name. If $obj is undefined or null, a TypeError
is thrown. To create a lvalue that has no base object, and which will throw a ReferenceError when "->get" is called and create a
global property upon invocation of "->set", pass an unblessed reference to a global object as the first argument. (This is used by bare
identifiers in JS expressions.)
$lv->get
Gets the value of the property.
$lv->set($value)
Sets the property to $value and returns $value. If the lvalue has no base object, the global object will become its base object
automatically. <Note:> Whether the lvalue object itself is modified in the latter case is not set in stone yet. (Currently it is
modified, but that may change.)
$lv->call(@args)
If the property is a function, this calls the function with the base object as the 'this' value.
$lv->base
Returns the base object. If there isn't any, it returns undef or an empty list, depending on context.
$lv->property
Returns the property name.
perl v5.14.2 2012-03-18 JE::LValue(3pm)