Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re^5: Array got modified!

by choroba (Chancellor)
on Oct 10, 2011 at 13:44 UTC ( #930637=note: print w/replies, xml ) Need Help??


in reply to Re^4: Array got modified!
in thread Array got modified!

Yes, it's working by accident (no spaces nor * in @x). For example:
perl -E '@arr=("a b", "c d", qw/e f g h a*/); while (my $e = <@arr>) { say $e }'
gives this output for me:
a b c d e f g h address.txt address.txt~ analytic ascii.htm aux-no-lex.lst

Replies are listed 'Best First'.
Re^6: Array got modified!
by exilepanda (Pilgrim) on Oct 10, 2011 at 16:03 UTC
    Got it! Didn't aware of it at all....
    Lesson learned!! Thanks a lot!!! =)

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://930637]
help
Chatterbox?
[Corion]: But a quick Google search turns up this page, which seems to suggest that it should be packaged
[Discipulus]: iirc active perl has repositories only for last 2 o 3 major release of perl Mj1234. I strongly suggest portable version of strawberry perl and use cpan client to install modules
[choroba]: Also, who needs GDB when there's hdb?
[Discipulus]: in this ubuntu i'm not able to find resource monitor, graphical mount program.. just office and amazon are exposed!

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (7)
As of 2016-12-07 08:57 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    On a regular basis, I'm most likely to spy upon:













    Results (125 votes). Check out past polls.