Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re: Any idea how to pass a variable there ?

by davido (Archbishop)
on Jun 25, 2013 at 16:09 UTC ( #1040622=note: print w/replies, xml ) Need Help??


in reply to Any idea how to pass a variable there ?

Single quotes don't interpolate. Use double-quotes so that you get variable interpolation. Or no quotes at all if a variable by itself contains the entire field.

my $gsm = new Device::Gsm( port => $variable ....

...or...

my $gsm = new Device::Gsm( port => "stuff/plus/$interoplation"...

Dave

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1040622]
help
Chatterbox?
[choroba]: Tux Why? It works for me with 16 :-)
[Tux]: and the defailt is 15?
[choroba]: sorry, typo. Works for me with 15 which is the default
[choroba]: Timestamps should work correctly now

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (8)
As of 2017-09-19 20:16 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    During the recent solar eclipse, I:









    Results (228 votes). Check out past polls.

    Notices?