perldb -- spaces in parameters

Discussion in 'Perl Misc' started by avilella@gmail.com, Aug 16, 2006.

  1. Guest

    Hi all,

    I was wondering if anyone figured out a way to call Emacs perldb with
    parameters that have spaces. For example:

    M-x perldb
    Run perldb (like this): perl script.pl -i "my parameter"

    ----

    [...]
    use Getopt::Long;
    GetOptions(
    'i:s' => \$i
    );
    [...]
    ----

    I always get '"my' instead of "my parameter" when running perldb,
    whereas it works on the command-line.

    Anyone?

    Thanks,

    Albert.
     
    , Aug 16, 2006
    #1
    1. Advertisements

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. John B. Matthews
    Replies:
    4
    Views:
    948
    John B. Matthews
    Sep 12, 2008
  2. Roedy Green
    Replies:
    3
    Views:
    845
  3. Tomasz Chmielewski

    [CSS] how can I show spaces as spaces?

    Tomasz Chmielewski, Sep 5, 2009, in forum: HTML
    Replies:
    21
    Views:
    2,087
    Jan C. Faerber
    Sep 10, 2009
  4. Tomasz Chmielewski

    how can I show spaces as spaces, part 2

    Tomasz Chmielewski, Sep 9, 2009, in forum: HTML
    Replies:
    14
    Views:
    1,205
    Jan C. Faerber
    Sep 10, 2009
  5. johkar
    Replies:
    2
    Views:
    3,908
    Mayeul
    Dec 10, 2009
  6. Gaurav Shah

    debugging multi-file scripts using perldb

    Gaurav Shah, Oct 27, 2003, in forum: Perl Misc
    Replies:
    1
    Views:
    199
    Peter Scott
    Oct 28, 2003
  7. bill

    perldb history dump?

    bill, Feb 26, 2004, in forum: Perl Misc
    Replies:
    2
    Views:
    149
  8. bill
    Replies:
    1
    Views:
    205
Loading...