Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re^3: chopping the beginning and end of lines in 2 files

by Crian (Chaplain)
on Nov 13, 2008 at 10:14 UTC ( #723404=note: print w/replies, xml ) Need Help??


in reply to Re^2: chopping the beginning and end of lines in 2 files
in thread chopping the beginning and end of lines in 2 files

I hope a few general remarks are welcome.

I would suggest you to use use strict; and use warnings;.

And please don't use $a and $b, the are even with use strict; not under the strict conditions, because there are used by sort.


Edit: I should renew the page before answering. Grandfather was faster and he did better.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://723404]
help
Chatterbox?
[atcroft]: PriNet: %hash = ();? or foreach my $k ( keys %hash ) { delete $hash{$k}; }?

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (2)
As of 2017-06-28 02:56 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    How many monitors do you use while coding?















    Results (619 votes). Check out past polls.