qr

What characters must I escape in a Perl pre-compiled regex?

I'm having a hard time determining what characters must be escaped when using Perl's qr{} construct I'm attempting to create a multi-line precompiled regex for text that contains a myriad of normally escaped characters (#*.>:[]) and also contains another precompiled regex. Additionally I need to match as strictly as possible for testing...

Perl qr// and substitution.

Hi guys. I'm writing a tiny program that takes user input using Getops, and based on it, the program will either try to match a pattern against some text, or substitute text for what matched. The problem I'm having is that I can't get the substitution portion to work. I'm looking at the qr// entry in the man pages: http://perldoc.perl....

QR code - where can I find (free) code to embed my own generator on a web page?

Hi, couldn't find it exactly from earlier questions, but I am probably repeating an earlier question, so apologies upfront ;-) I am looking for a simple code to embed a QR 2D code generator on a website I am building. I assume their should be some free open source code for that but I could only find paid software. Can anyone point me i...

How can I create a qr// in Perl 5.12 from C?

This has been working for me in 5.8 and 5.10, but in 5.12 my code creates this weird non-qr object: # running "print Dumper($regex)" $VAR1 = bless( do{\(my $o = '')}, 'Regexp' ); Whereas printing a qr// not created by my code looks like this: # running "print Dumper(qr/foo/i)" $VAR1 = qr/(?i-xsm:foo)/; My code is basically: REGEXP...

Autofocus when scanning QR code

I'm working on a BlackBerry app, and one of the feature is QR code scanning (will be used in cafes/restaurants). Is there any way to make the camera autofocus the QR code? I did some Googling, and found this: FocusControl That looks like the one I'm looking for. Unfortunately, it's only available since OS 5.0. I wonder how to achieve...

2d barcode reader Java ME sdk

Hi people, First ever question on stackoverflow! Yay! Does anyone know a good sdk for reading and decoding 2d barcodes (preferably Datamatrix or QR) from within a Java ME application? The application will be closed source, and while I'd prefer that the SDK be free (perhaps MIT or LGPL licenses), I would not mind forking over some cash ...

How to create a QR code application?

Can you please explain me How actually QR codes are created and How they are tracked. Generated codes are stored in a DB. I am actually confused about how QR code reader application works. If I create a site where users can generate QR codes. Every generated QR code will be saved in my site DB. Then, will I have to write an application ...

Generating a QR code in rails

Hi Guys. I want to generate QR codes in ruby on rails, to run in the background of my website written in rails. Saw this http://code.google.com/p/qrcode-rails/ but cannot work out how I could get this to work for me. Basically in RoR I want to: Pass a generator a string, my unique code, a 20 character length number (e.g. 320329288899988...