Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re^2: Order of execution of functions in list

by vsespb (Chaplain)
on Sep 16, 2013 at 08:44 UTC ( #1054250=note: print w/replies, xml ) Need Help??


in reply to Re: Order of execution of functions in list
in thread Order of execution of functions in list

Well first, there is a problem with $a and $b in Perl
1. there is no $a and $b in my code.
2. it's not a problem, at least if you are not defining comparison function in same scope.
  • Comment on Re^2: Order of execution of functions in list

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1054250]
help
Chatterbox?
[Corion]: Yaerox: There is Encode::Guess, but that needs a limited set of inputs, and it also cannot handle multiple single-byte encodings
[Corion]: If you have a BOM, that's a really easy way to recognize UTF-8. Otherwise, you can try to decode a file from UTF-8, and if that works OK and doesn't crash, most likely the file was valid UTF-8
[Corion]: But as "ansi" (Latin-1?) is a single-byte encoding, any file is a valid ANSI file

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (9)
As of 2017-03-28 13:21 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Should Pluto Get Its Planethood Back?



    Results (332 votes). Check out past polls.