Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

reference to an undefined key

by exilepanda (Pilgrim)
on Oct 10, 2015 at 12:20 UTC ( #1144368=perlquestion: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my $obj = bless {
        Root => $rootDir, 
        UserDir => $obj->{Root} . "Usr/$userId/",
        UserAppData = $obj->{UserDir} . "$appName/",
    }, shift; #  of cause this won't work
    
  2. or download this
    $obj = bless {
        Root => $rootDir, 
    ...
    
    $obj->{UserDir} = $obj->{Root} . "Usr/$userId";
    $obj->{UserAppData} = $obj->{UserDir} . "$appName";
    
  3. or download this
    [ConfigDirs]
      A = /some/dir
      B = /_#A#_/DeeperDir
      C = /_#B#_/EvenDeeperDir
    
  4. or download this
    $var = {
      'ConfigDirs' => {
    ...
        'C'=> '/some/dir/DeeperDir/EvenDeeperDir'
      }
    }
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://1144368]
Front-paged by Corion
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (9)
As of 2020-04-08 19:11 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    The most amusing oxymoron is:
















    Results (45 votes). Check out past polls.

    Notices?