Confusion on array and list. can anybody explain me the difference between
list and arrays.
my @xyz = ( 4, 5, 6 );
The right-hand side of the equals sign is a list.here I assign that list to
the variable @xyz.
its an array,list can be assigned to an array.
on similiar lines
we can assign Lists t
I've got a ZEBRA ZXP Series 1 credit card printer attached to a Win7 PC.
By using Word and creating a paper size of 84mm by 54mm I can printer on a
card successfully.
The cards we will be using are pre-printed with logo's etc. but I need to
print a person's name and reference number across the b
On Tue, Sep 16, 2014 at 4:22 AM, Uday Vernekar
wrote:
> Confusion on array and list. can anybody explain me the difference between
> list and arrays.
>
> my @xyz = ( 4, 5, 6 );
>
> The right-hand side of the equals sign is a list.here I assign that list
> to the variable @xyz.
> its an array,list
On Tue, Sep 16, 2014 at 12:12:05PM -0500, Andy Bach wrote:
>The other thing to think
> about is "context" - the LHS of the assigning "=" determines how the RHS
> list is treated.
So far, so good. Well, almost ...
> In scalar c
On Tue, Sep 16, 2014 at 1:45 PM, Paul Johnson wrote:
> The comma operator evaluates its LHS, throws it away, evaluates its RHS
> and returns that. The comma operator is left associative (see perlop).
>
> So the result of evaluating the RHS (1, 2, 3) is:
>
> (1, 2, 3) -> ((1, 2), 3) -> (2, 3) -
On Tue, Sep 16, 2014 at 02:43:28PM -0500, Andy Bach wrote:
> On Tue, Sep 16, 2014 at 1:45 PM, Paul Johnson wrote:
>
> > The comma operator evaluates its LHS, throws it away, evaluates its RHS
> > and returns that. The comma operator is left associative (see perlop).
> >
> > So the result of eval
I just ran across something puzzling. Why are these two statements not
equivalent when it comes to warnings?
if ($item->{'optionprice'}) {
$item->{'unitprice'} += $item->{'optionprice'};
}
and
$item->{'unitprice'} += $item->{'optionprice'} if ($item->{'optionprice'});
-Original Message-
From: SSC_perl
Sent: Wednesday, September 17, 2014 10:37 AM
To: Perl Beginners
Subject: Argument isn't numeric warning in if statement
I just ran across something puzzling. Why are these two statements not
equivalent when it comes to warnings?
if ($item->{'optionpr
p{margin:0;padding:0;}
Greeting from S. Korea !
I am parsing the output of ffmpeg with perl. Particular, I want to print only
these lines among the output and capturing the resolution, i.e. 1280x720.
Stream #0:0: Video: h264 (High), yuv420p, 1280x720, SAR 1:1 DAR 16:9, 23.98
fps, 23.9
Hi Viet-Duc Le,
On 17 Sep 2014, at 10:23, Viet-Duc Le wrote:
> Greeting from S. Korea !
>
> I am parsing the output of ffmpeg with perl. Particular, I want to print only
> these lines among the output and capturing the resolution, i.e. 1280x720.
>
> Stream #0:0: Video: h264 (High), yuv42
10 matches
Mail list logo