Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Is it ok to assign a popped value to a variable as shown.

by perl514 (Pilgrim)
on Dec 05, 2011 at 13:29 UTC ( #941841=perlquestion: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl
    use warnings;
    ...
    
    unshift @array, "LFY";
    print "Now we have @array\n";
    
  2. or download this
    C:\perl>perl practice.pl
    @array has Book Novel Magazine Guide so total:4
    ...
    Now we have Novel Magazine Guide LFY
    Now we have Novel Magazine Guide and I have saved LFY
    Now we have LFY Novel Magazine Guide
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://941841]
Approved by Corion
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (12)
As of 2014-08-27 19:22 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (250 votes), past polls