[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index][Thread Index][Top&Search][Original]

[Fwd: Perl bug?]




-- 
---

Best Regards,
               Vincent Chang
                        
                        
=======================================================================
*  Vincent Chang                                                      
*  Design Automation                     mailto:vchang@micron.com     
*  Memory Products Design                http://www.micron.com        
*  Micron Technology Texas,LLC. mS323    Phone: (972) 994-3609        
*  500 W Renner Rd. Richardson TX 75080  Fax:   (972) 994-4544        
=======================================================================

-- BEGIN included message

Hi Vincent,

I do not know why this occurs. I suggest posting your question to
the newsgroup "comp.lang.perl.misc". And if it is a bug, the appropriate
people will be alerted.

Hope that helps you out!
 
Kevin Bingham                               O'Reilly & Associates, Inc.
O'Reilly Book Support               101 Morris St, Sebastopol, CA 95472
booktech@oreilly.com          O'Reilly home page http://www.oreilly.com

ph: 707-829-0515 fax: 707-829-0104 tollfree 800-998-9938 US/Canada only
to order: order@oreilly.com * technical questions: booktech@oreilly.com  


> Hi,
> 
> Would you explain to me why the following is not working,
> 
> $test = "test.in";
> my( $temp ) = reverse( $test );
> print $temp;                   ========>  I will get "test.in".
> 
> but, If I do the following,
> my $temp  = reverse( $test );
> print $temp;                   ========>  I will get "ni.tset".
> 
> I thought assign statement should always evaluate the right assignment
> first.
> But, my( $temp ) = reverse( $test ) doesn't evaluate the `reverse` at
> all.
> 
> 
> Thank you.
> -- 
> ---
> 
> Best Regards,
>                Vincent Chang
>                         
>                         
> =======================================================================
> *  Vincent Chang                                                      
> *  Design Automation                     mailto:vchang@micron.com     
> *  Memory Products Design                http://www.micron.com        
> *  Micron Technology Texas,LLC. mS323    Phone: (972) 994-3609        
> *  500 W Renner Rd. Richardson TX 75080  Fax:   (972) 994-4544        
> =======================================================================

-- END included message


Follow-Ups from:
Jeff Pinyan <jeffp@crusoe.net>

[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index][Thread Index][Top&Search][Original]