Wednesday, April 18, 2012

Perl to Pseudocode

So i'm trying to re-write a code in python (Im an undergrad and they need their perl code rewritten for python) and I have VERY limitted knowledge of Perl.
I've tried digging around and haven't really found much. So far I've worked parts of teh psuedocode.



Perl:



($colour =~ /^\\#/)


Psuedo:



The Variable Colour does not Equal... 


My problem is the last section, /^\\#/ would anyone be able to tell me what this means?
I have checked its not a variable used in the code. If its any help the code was designed to interact with GIMP.



Please and thankyou :)





No comments:

Post a Comment