Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask

Re: h2xs question

by dchetlin (Friar)
on Dec 11, 2000 at 18:37 UTC ( #46073=note: print w/replies, xml ) Need Help??

in reply to h2xs question

Good question. Unfortunately, you may not like my answer so much.

The functionality you want exists, in the form of the `-b' switch. Specifically, this is what I've been using lately:

h2xs -AXn Foo-Bar -b 5.5.3

The problem is that this switch was added in early June 2000 , too late for 5.6.0. It has been integrated into the 5.6.1 track.

Your options are (in no particular order):

  • Get Perl 5.7.0 or an even newer version of the development track
  • Wait for 5.6.1, which should be RSN.
  • Integrate that patch into your version of h2xs
  • Manually delete the "require 5.005_xx", change "use warnings" to "-w", and all `our' vars to `use vars' in every module you create
  • Use the 5.00503 version of h2xs


Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://46073]
[Corion]: Ah. The magic invocation is set PERL5OPT=-M-lib=. (equivalent of no lib '.';
[Corion]: )
[Corion]: dazz: BTW, the following should work (no Image::Magick installed, so untested): open(my $fh, '<', \$jpegbuffer); $image->Read(file= > $fh);

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (11)
As of 2017-03-27 08:12 GMT
Find Nodes?
    Voting Booth?
    Should Pluto Get Its Planethood Back?

    Results (317 votes). Check out past polls.